diff options
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 | ||