diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | regress/sftp-cmds.sh | 4 |
2 files changed, 6 insertions, 3 deletions
@@ -77,6 +77,9 @@ | |||
77 | [regress/sftp-glob.sh regress/test-exec.sh] | 77 | [regress/sftp-glob.sh regress/test-exec.sh] |
78 | remove "echo -E" crap that I added in last commit and use printf(1) for | 78 | remove "echo -E" crap that I added in last commit and use printf(1) for |
79 | cases where we strictly require echo not to reprocess escape characters. | 79 | cases where we strictly require echo not to reprocess escape characters. |
80 | - (djm) [regress/sftp-cmds.sh] | ||
81 | Use more restrictive glob to pick up test files from /bin - some platforms | ||
82 | ship broken symlinks there which could spoil the test. | ||
80 | 83 | ||
81 | 20070927 | 84 | 20070927 |
82 | - (dtucker) [configure.ac atomicio.c] Fall back to including <sys/poll.h> if | 85 | - (dtucker) [configure.ac atomicio.c] Fall back to including <sys/poll.h> if |
@@ -3348,4 +3351,4 @@ | |||
3348 | OpenServer 6 and add osr5bigcrypt support so when someone migrates | 3351 | OpenServer 6 and add osr5bigcrypt support so when someone migrates |
3349 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ | 3352 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ |
3350 | 3353 | ||
3351 | $Id: ChangeLog,v 1.4777 2007/10/26 05:35:54 djm Exp $ | 3354 | $Id: ChangeLog,v 1.4778 2007/10/26 05:37:50 djm Exp $ |
diff --git a/regress/sftp-cmds.sh b/regress/sftp-cmds.sh index 5625c5b26..b7d7bb714 100644 --- a/regress/sftp-cmds.sh +++ b/regress/sftp-cmds.sh | |||
@@ -171,7 +171,7 @@ cmp $DATA ${COPY}.dd/`basename $DATA` || fail "corrupted copy after put" | |||
171 | 171 | ||
172 | rm -f ${COPY}.dd/* | 172 | rm -f ${COPY}.dd/* |
173 | verbose "$tid: glob put to directory" | 173 | verbose "$tid: glob put to directory" |
174 | echo "put /bin/l* ${COPY}.dd" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \ | 174 | echo "put /bin/l? ${COPY}.dd" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \ |
175 | || fail "put failed" | 175 | || fail "put failed" |
176 | for x in $GLOBFILES; do | 176 | for x in $GLOBFILES; do |
177 | cmp /bin/$x ${COPY}.dd/$x || fail "corrupted copy after put" | 177 | cmp /bin/$x ${COPY}.dd/$x || fail "corrupted copy after put" |
@@ -185,7 +185,7 @@ cmp $DATA ${COPY}.dd/`basename $DATA` || fail "corrupted copy after put" | |||
185 | 185 | ||
186 | rm -f ${COPY}.dd/* | 186 | rm -f ${COPY}.dd/* |
187 | verbose "$tid: glob put to local dir" | 187 | verbose "$tid: glob put to local dir" |
188 | (echo "cd ${COPY}.dd"; echo "put /bin/l*") | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \ | 188 | (echo "cd ${COPY}.dd"; echo "put /bin/l?") | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \ |
189 | || fail "put failed" | 189 | || fail "put failed" |
190 | for x in $GLOBFILES; do | 190 | for x in $GLOBFILES; do |
191 | cmp /bin/$x ${COPY}.dd/$x || fail "corrupted copy after put" | 191 | cmp /bin/$x ${COPY}.dd/$x || fail "corrupted copy after put" |