diff options
author | Colin Watson <cjwatson@debian.org> | 2020-06-07 10:19:23 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2020-06-07 10:19:23 +0100 |
commit | 202f5a676221c244cd450086c334c2b59f339e86 (patch) | |
tree | d2f90a3a9ce2b33485c271eab01a48f02ef6fb5a /regress/sftp-badcmds.sh | |
parent | f0de78bd4f29fa688c5df116f3f9cd43543a76d0 (diff) | |
parent | 9ca7e9c861775dd6c6312bc8aaab687403d24676 (diff) |
Import openssh_8.3p1.orig.tar.gz
Diffstat (limited to 'regress/sftp-badcmds.sh')
-rw-r--r-- | regress/sftp-badcmds.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sftp-badcmds.sh b/regress/sftp-badcmds.sh index 7f85c4f22..5b016d558 100644 --- a/regress/sftp-badcmds.sh +++ b/regress/sftp-badcmds.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: sftp-badcmds.sh,v 1.6 2013/05/17 10:26:26 dtucker Exp $ | 1 | # $OpenBSD: sftp-badcmds.sh,v 1.7 2020/03/13 03:18:45 djm Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="sftp invalid commands" | 4 | tid="sftp invalid commands" |
@@ -58,7 +58,7 @@ rm -rf ${COPY} | |||
58 | cp ${DATA2} ${COPY} | 58 | cp ${DATA2} ${COPY} |
59 | verbose "$tid: glob put files to local file" | 59 | verbose "$tid: glob put files to local file" |
60 | echo "put /bin/l* $COPY" | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 | 60 | echo "put /bin/l* $COPY" | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 |
61 | cmp ${DATA2} ${COPY} || fail "put successed when it should have failed" | 61 | cmp ${DATA2} ${COPY} || fail "put succeeded when it should have failed" |
62 | 62 | ||
63 | rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd | 63 | rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd |
64 | 64 | ||