summaryrefslogtreecommitdiff
path: root/regress/sftp-glob.sh
diff options
context:
space:
mode:
authordjm <djm>2007-10-26 05:35:54 +0000
committerdjm <djm>2007-10-26 05:35:54 +0000
commit7bacc208d75234097e3f2a471521eee880b6d643 (patch)
treea459ab3571eb28544476113e09cb9d65e2717513 /regress/sftp-glob.sh
parent3f85cca8489b38ba7f37a82a92b01625f7401906 (diff)
downloadopenssh-7bacc208d75234097e3f2a471521eee880b6d643.tar.gz
- 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 d5ebf9fd..62004efc 100644
--- a/regress/sftp-glob.sh
+++ b/regress/sftp-glob.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: sftp-glob.sh,v 1.2 2007/10/24 03:32:35 djm Exp $
+# $OpenBSD: sftp-glob.sh,v 1.3 2007/10/26 05:30:01 djm Exp $
# Placed in the Public Domain.
tid="sftp glob"
@@ -9,7 +9,7 @@ sftp_ls() {
expected=$3
unexpected=$4
verbose "$tid: $errtag"
- $ECHOE "ls -l ${target}" | \
+ printf "ls -l %s" "${target}" | \
${SFTP} -b - -P ${SFTPSERVER} 2>/dev/null | \
grep -v "^sftp>" > ${RESULTS}
if [ $? -ne 0 ]; then