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.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/regress/sftp-cmds.sh b/regress/sftp-cmds.sh
index 3669b19ff..31b21d1f2 100644
--- a/regress/sftp-cmds.sh
+++ b/regress/sftp-cmds.sh
@@ -85,6 +85,7 @@ echo "get \"$DATA\" $COPY" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \
85 || fail "get failed" 85 || fail "get failed"
86cmp $DATA ${COPY} || fail "corrupted copy after get" 86cmp $DATA ${COPY} || fail "corrupted copy after get"
87 87
88if [ "$os" != "cygwin" ]; then
88rm -f ${QUOTECOPY} 89rm -f ${QUOTECOPY}
89cp $DATA ${QUOTECOPY} 90cp $DATA ${QUOTECOPY}
90verbose "$tid: get filename with quotes" 91verbose "$tid: get filename with quotes"
@@ -92,6 +93,7 @@ echo "get \"$QUOTECOPY_ARG\" ${COPY}" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1
92 || fail "put failed" 93 || fail "put failed"
93cmp ${COPY} ${QUOTECOPY} || fail "corrupted copy after get with quotes" 94cmp ${COPY} ${QUOTECOPY} || fail "corrupted copy after get with quotes"
94rm -f ${QUOTECOPY} ${COPY} 95rm -f ${QUOTECOPY} ${COPY}
96fi
95 97
96rm -f ${COPY}.dd/* 98rm -f ${COPY}.dd/*
97verbose "$tid: get to directory" 99verbose "$tid: get to directory"