- [regress/sftp-cmds.sh] Use portable "test" option.

This commit is contained in:
Darren Tucker 2003-09-04 15:24:50 +10:00
parent a241d87e94
commit 4735115e4d
2 changed files with 3 additions and 3 deletions

View File

@ -20,6 +20,7 @@
- [regress/agent.sh regress/proto-version.sh regress/ssh-com.sh
regress/test-exec.sh] Handle different was of echoing without newlines.
- [regress/dynamic-forward.sh] Some "which" programs output on stderr.
- [regress/sftp-cmds.sh] Use portable "test" option.
20030903
- (djm) OpenBSD CVS Sync
@ -1010,4 +1011,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
$Id: ChangeLog,v 1.2953 2003/09/04 05:22:01 dtucker Exp $
$Id: ChangeLog,v 1.2954 2003/09/04 05:24:50 dtucker Exp $

View File

@ -17,7 +17,6 @@ do
fi
done
# Path with embedded quote
QUOTECOPY=${COPY}".\"blah\""
QUOTECOPY_ARG=${COPY}'.\"blah\"'
@ -148,7 +147,7 @@ test -d ${COPY}.dd2 || fail "missing newname after rename directory"
verbose "$tid: ln"
echo "ln ${COPY}.1 ${COPY}.2" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 || fail "ln failed"
test -L ${COPY}.2 || fail "missing file after ln"
test -h ${COPY}.2 || fail "missing file after ln"
verbose "$tid: mkdir"
echo "mkdir ${COPY}.dd" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \