summaryrefslogtreecommitdiff
path: root/regress/sftp-cmds.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sftp-cmds.sh')
-rw-r--r--regress/sftp-cmds.sh4
1 files changed, 2 insertions, 2 deletions
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
172rm -f ${COPY}.dd/* 172rm -f ${COPY}.dd/*
173verbose "$tid: glob put to directory" 173verbose "$tid: glob put to directory"
174echo "put /bin/l* ${COPY}.dd" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \ 174echo "put /bin/l? ${COPY}.dd" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \
175 || fail "put failed" 175 || fail "put failed"
176for x in $GLOBFILES; do 176for 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
186rm -f ${COPY}.dd/* 186rm -f ${COPY}.dd/*
187verbose "$tid: glob put to local dir" 187verbose "$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"
190for x in $GLOBFILES; do 190for 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"