This is a discussion on Re: Testing wanted: OpenSSH 4.8 within the OpenSSH Development forums, part of the Networking and Network Related category; On Thu, Mar 13, 2008 at 17:20:16 -0700, Iain Morgan wrote: > On Thu, Mar 13, 2008 at ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Thu, Mar 13, 2008 at 17:20:16 -0700, Iain Morgan wrote:
> On Thu, Mar 13, 2008 at 13:11:13 -0700, Iain Morgan wrote: > > regress/sftp-cmds.sh will fail on some platforms because it assumes that > > the echo command supports C-style escape codes. > > > > verbose "$tid: lls" > > echo "cd ${OBJ}\nlls" | ${SFTP} -P ${SFTPSERVER} 2>&1 | \ > > grep -q copy.dd || fail "lls failed" > > > > To fix this, it might be better to do something like this: > > > > verbose "$tid: lls" > > (echo "cd ${OBJ}"; echo "lls") | ${SFTP} -P ${SFTPSERVER} 2>&1 | \ > > grep -q copy.dd || fail "lls failed" > > > > Using 'echo -e' would be nicer, but that's not universal either. > > > > One further note: On Solaris 9 /usr/bin/grep does not support a -q > option, whereas /usr/xpg4/bin/grep does. It may be best to just direct > the output to /dev/null rather than relying on -q. > One more regression test issue found on Solaris. /bin/sh on Solaris does not support the $() syntax. this breaks regress/localcommand.sh. It would be more portable to use backticks instead. With that adjustment along with the others previously mentioned on the list, the 20080314 snapshot builds and tests OK on Solaris 9/SPARC with with the Sun Forte compilers. -- Iain Morgan _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@mindrot.org https://lists.mindrot.org/mailman/li...enssh-unix-dev |
![]() |
| Thread Tools | |
| Display Modes | |
|
|