diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-09-04 15:24:50 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-09-04 15:24:50 +1000 |
commit | 4735115e4d966f5347e6f3ea0ea10797f37e4034 (patch) | |
tree | 0289dbffa51348c4a8f8f6c2d3f3be81be087f14 /regress/sftp-cmds.sh | |
parent | a241d87e948d9776fc324a28645dd74b16d6c28b (diff) | |
download | openssh-git-4735115e4d966f5347e6f3ea0ea10797f37e4034.tar.gz |
- [regress/sftp-cmds.sh] Use portable "test" option.
Diffstat (limited to 'regress/sftp-cmds.sh')
-rw-r--r-- | regress/sftp-cmds.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/regress/sftp-cmds.sh b/regress/sftp-cmds.sh index c747988d..7558f5e0 100644 --- a/regress/sftp-cmds.sh +++ b/regress/sftp-cmds.sh @@ -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 \ |