Testing wanted: OpenSSH 4.8
Iain Morgan
imorgan at nas.nasa.gov
Fri Mar 14 07:11:13 EST 2008
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.
--
Iain Morgan
More information about the openssh-unix-dev
mailing list