diff options
Diffstat (limited to 'regress/sftp-cmds.sh')
-rw-r--r-- | regress/sftp-cmds.sh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/regress/sftp-cmds.sh b/regress/sftp-cmds.sh index aad7fcac2..1289c4089 100644 --- a/regress/sftp-cmds.sh +++ b/regress/sftp-cmds.sh | |||
@@ -77,7 +77,6 @@ echo "get \"$DATA\" $COPY" | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 \ | |||
77 | || fail "get failed" | 77 | || fail "get failed" |
78 | cmp $DATA ${COPY} || fail "corrupted copy after get" | 78 | cmp $DATA ${COPY} || fail "corrupted copy after get" |
79 | 79 | ||
80 | if [ "$os" != "cygwin" ]; then | ||
81 | rm -f ${QUOTECOPY} | 80 | rm -f ${QUOTECOPY} |
82 | cp $DATA ${QUOTECOPY} | 81 | cp $DATA ${QUOTECOPY} |
83 | verbose "$tid: get filename with quotes" | 82 | verbose "$tid: get filename with quotes" |
@@ -85,7 +84,6 @@ echo "get \"$QUOTECOPY_ARG\" ${COPY}" | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 | |||
85 | || fail "get failed" | 84 | || fail "get failed" |
86 | cmp ${COPY} ${QUOTECOPY} || fail "corrupted copy after get with quotes" | 85 | cmp ${COPY} ${QUOTECOPY} || fail "corrupted copy after get with quotes" |
87 | rm -f ${QUOTECOPY} ${COPY} | 86 | rm -f ${QUOTECOPY} ${COPY} |
88 | fi | ||
89 | 87 | ||
90 | rm -f "$SPACECOPY" ${COPY} | 88 | rm -f "$SPACECOPY" ${COPY} |
91 | cp $DATA "$SPACECOPY" | 89 | cp $DATA "$SPACECOPY" |
@@ -136,13 +134,11 @@ echo "put $DATA $COPY" | \ | |||
136 | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 || fail "put failed" | 134 | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 || fail "put failed" |
137 | cmp $DATA ${COPY} || fail "corrupted copy after put" | 135 | cmp $DATA ${COPY} || fail "corrupted copy after put" |
138 | 136 | ||
139 | if [ "$os" != "cygwin" ]; then | ||
140 | rm -f ${QUOTECOPY} | 137 | rm -f ${QUOTECOPY} |
141 | verbose "$tid: put filename with quotes" | 138 | verbose "$tid: put filename with quotes" |
142 | echo "put $DATA \"$QUOTECOPY_ARG\"" | \ | 139 | echo "put $DATA \"$QUOTECOPY_ARG\"" | \ |
143 | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 || fail "put failed" | 140 | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 || fail "put failed" |
144 | cmp $DATA ${QUOTECOPY} || fail "corrupted copy after put with quotes" | 141 | cmp $DATA ${QUOTECOPY} || fail "corrupted copy after put with quotes" |
145 | fi | ||
146 | 142 | ||
147 | rm -f "$SPACECOPY" | 143 | rm -f "$SPACECOPY" |
148 | verbose "$tid: put filename with spaces" | 144 | verbose "$tid: put filename with spaces" |