summaryrefslogtreecommitdiff
path: root/regress/sftp-badcmds.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sftp-badcmds.sh')
-rw-r--r--regress/sftp-badcmds.sh4
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
4tid="sftp invalid commands" 4tid="sftp invalid commands"
@@ -58,7 +58,7 @@ rm -rf ${COPY}
58cp ${DATA2} ${COPY} 58cp ${DATA2} ${COPY}
59verbose "$tid: glob put files to local file" 59verbose "$tid: glob put files to local file"
60echo "put /bin/l* $COPY" | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 60echo "put /bin/l* $COPY" | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1
61cmp ${DATA2} ${COPY} || fail "put successed when it should have failed" 61cmp ${DATA2} ${COPY} || fail "put succeeded when it should have failed"
62 62
63rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd 63rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd
64 64