diff options
author | Colin Watson <cjwatson@debian.org> | 2010-03-31 00:48:57 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2010-03-31 00:48:57 +0100 |
commit | d1a87e462e1db89f19cd960588d0c6b287cb5ccc (patch) | |
tree | f0d13e1687800f36a3c4322b94ac5230ad17bdbf /regress/sftp-glob.sh | |
parent | 964476f91b66c475d5b8fa1e8b28d39a97a1b56e (diff) | |
parent | 004a7fb9c6a00b13dc98f56599918a54a3506d10 (diff) |
merge 5.4p1
Diffstat (limited to 'regress/sftp-glob.sh')
-rw-r--r-- | regress/sftp-glob.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sftp-glob.sh b/regress/sftp-glob.sh index 60116a748..72bb17d75 100644 --- a/regress/sftp-glob.sh +++ b/regress/sftp-glob.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: sftp-glob.sh,v 1.3 2007/10/26 05:30:01 djm Exp $ | 1 | # $OpenBSD: sftp-glob.sh,v 1.4 2009/08/13 01:11:55 djm Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="sftp glob" | 4 | tid="sftp glob" |
@@ -10,7 +10,7 @@ sftp_ls() { | |||
10 | unexpected=$4 | 10 | unexpected=$4 |
11 | verbose "$tid: $errtag" | 11 | verbose "$tid: $errtag" |
12 | printf "ls -l %s" "${target}" | \ | 12 | printf "ls -l %s" "${target}" | \ |
13 | ${SFTP} -b - -P ${SFTPSERVER} 2>/dev/null | \ | 13 | ${SFTP} -b - -D ${SFTPSERVER} 2>/dev/null | \ |
14 | grep -v "^sftp>" > ${RESULTS} | 14 | grep -v "^sftp>" > ${RESULTS} |
15 | if [ $? -ne 0 ]; then | 15 | if [ $? -ne 0 ]; then |
16 | fail "$errtag failed" | 16 | fail "$errtag failed" |