Re: Testing wanted: OpenSSH 4.8

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 ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-14-2008
Iain Morgan
 
Posts: n/a
Default Re: Testing wanted: OpenSSH 4.8

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:23 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0