summaryrefslogtreecommitdiff
path: root/regress/sftp-glob.sh
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2007-10-26 15:35:54 +1000
committerDamien Miller <djm@mindrot.org>2007-10-26 15:35:54 +1000
commitda1e4bd3bf039cc81fc2ee3f971a3ad23fa5c51c (patch)
tree9007f61b3f1448949bc44966712ff6c4b5ce006a /regress/sftp-glob.sh
parentce0e60ee57a2990e892b4bda98c6d223426ee9a4 (diff)
- djm@cvs.openbsd.org 2007/10/26 05:30:01
[regress/sftp-glob.sh regress/test-exec.sh] remove "echo -E" crap that I added in last commit and use printf(1) for cases where we strictly require echo not to reprocess escape characters.
Diffstat (limited to 'regress/sftp-glob.sh')
-rw-r--r--regress/sftp-glob.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sftp-glob.sh b/regress/sftp-glob.sh
index d5ebf9fd6..62004efc5 100644
--- a/regress/sftp-glob.sh
+++ b/regress/sftp-glob.sh
@@ -1,4 +1,4 @@
1# $OpenBSD: sftp-glob.sh,v 1.2 2007/10/24 03:32:35 djm Exp $ 1# $OpenBSD: sftp-glob.sh,v 1.3 2007/10/26 05:30:01 djm Exp $
2# Placed in the Public Domain. 2# Placed in the Public Domain.
3 3
4tid="sftp glob" 4tid="sftp glob"
@@ -9,7 +9,7 @@ sftp_ls() {
9 expected=$3 9 expected=$3
10 unexpected=$4 10 unexpected=$4
11 verbose "$tid: $errtag" 11 verbose "$tid: $errtag"
12 $ECHOE "ls -l ${target}" | \ 12 printf "ls -l %s" "${target}" | \
13 ${SFTP} -b - -P ${SFTPSERVER} 2>/dev/null | \ 13 ${SFTP} -b - -P ${SFTPSERVER} 2>/dev/null | \
14 grep -v "^sftp>" > ${RESULTS} 14 grep -v "^sftp>" > ${RESULTS}
15 if [ $? -ne 0 ]; then 15 if [ $? -ne 0 ]; then