summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2013-05-17 10:26:27 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2013-05-17 10:26:27 +0000
commitf6ac760355b5823cbfe088cdb8af4dfe4e746222 (patch)
tree9fd8244609c951c9810cea7be8c5177086f2c95a
parentb5d61f2e13f2c3b369414178a226ed0421fff344 (diff)
remove unused BATCH variable
-rw-r--r--regress/usr.bin/ssh/sftp-badcmds.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.bin/ssh/sftp-badcmds.sh b/regress/usr.bin/ssh/sftp-badcmds.sh
index d6f104ff7a0..80d6c910f1f 100644
--- a/regress/usr.bin/ssh/sftp-badcmds.sh
+++ b/regress/usr.bin/ssh/sftp-badcmds.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: sftp-badcmds.sh,v 1.5 2013/05/17 04:29:14 dtucker Exp $
+# $OpenBSD: sftp-badcmds.sh,v 1.6 2013/05/17 10:26:26 dtucker Exp $
# Placed in the Public Domain.
tid="sftp invalid commands"
@@ -7,7 +7,7 @@ DATA2=/bin/cat
NONEXIST=/NONEXIST.$$
GLOBFILES=`(cd /bin;echo l*)`
-rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd ${BATCH}.*
+rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd
rm -f ${COPY}
verbose "$tid: get nonexistent"
@@ -60,6 +60,6 @@ verbose "$tid: glob put files to local file"
echo "put /bin/l* $COPY" | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1
cmp ${DATA2} ${COPY} || fail "put successed when it should have failed"
-rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd ${BATCH}.*
+rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd