summaryrefslogtreecommitdiffstats
path: root/regress/sftp-cmds.sh
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2012-06-30 07:04:13 +0200
committerDarren Tucker <dtucker@zip.com.au>2012-06-30 07:04:13 +0200
commitff32d7c9d20d42db364525d92c27a7c7491caf0d (patch)
tree61459ac07513d89dc6e83f3ae392a410cac44d31 /regress/sftp-cmds.sh
parent - djm@cvs.openbsd.org 2012/06/01 00:47:35 (diff)
downloadopenssh-ff32d7c9d20d42db364525d92c27a7c7491caf0d.tar.xz
openssh-ff32d7c9d20d42db364525d92c27a7c7491caf0d.zip
- djm@cvs.openbsd.org 2012/06/01 00:52:52
[regress/sftp-cmds.sh] don't delete .* on cleanup due to unintended env expansion; pointed out in bz#2014 by openssh AT roumenpetrov.info
Diffstat (limited to 'regress/sftp-cmds.sh')
-rw-r--r--regress/sftp-cmds.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/sftp-cmds.sh b/regress/sftp-cmds.sh
index 1c67b6476..d10d01a31 100644
--- a/regress/sftp-cmds.sh
+++ b/regress/sftp-cmds.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: sftp-cmds.sh,v 1.11 2010/12/04 00:21:19 djm Exp $
+# $OpenBSD: sftp-cmds.sh,v 1.12 2012/06/01 00:52:52 djm Exp $
# Placed in the Public Domain.
# XXX - TODO:
@@ -40,7 +40,7 @@ SPACECOPY_ARG="${COPY}\ this\ has\ spaces.txt"
# File with glob metacharacters
GLOBMETACOPY="${COPY} [metachar].txt"
-rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd ${COPY}.dd2 ${BATCH}.*
+rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd ${COPY}.dd2
mkdir ${COPY}.dd
verbose "$tid: lls"
@@ -242,7 +242,7 @@ verbose "$tid: lchdir"
echo "lchdir ${COPY}.dd" | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 \
|| fail "lchdir failed"
-rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd ${COPY}.dd2 ${BATCH}.*
+rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd ${COPY}.dd2
rm -rf ${QUOTECOPY} "$SPACECOPY" "$GLOBMETACOPY"