Testing wanted: OpenSSH 4.8

Iain Morgan imorgan at nas.nasa.gov
Sat Mar 15 04:28:20 EST 2008


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


More information about the openssh-unix-dev mailing list