diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-04-16 17:58:28 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-04-16 17:58:28 +1000 |
commit | c99a19b44539df51837f125f0607dda9f2876094 (patch) | |
tree | 98f591f24e8cb9b093bac64216a0b42937d9c5f3 /regress/sftp-cmds.sh | |
parent | 855ffbfc5a08d084ea994515c458f3272ad6d819 (diff) |
- (dtucker) [regress/sftp-cmds.sh] Skip quoting test on Cygwin, since
FAT/NTFS does not permit quotes in filenames. From vinschen at redhat.com
Diffstat (limited to 'regress/sftp-cmds.sh')
-rw-r--r-- | regress/sftp-cmds.sh | 2 |
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" |
86 | cmp $DATA ${COPY} || fail "corrupted copy after get" | 86 | cmp $DATA ${COPY} || fail "corrupted copy after get" |
87 | 87 | ||
88 | if [ "$os" != "cygwin" ]; then | ||
88 | rm -f ${QUOTECOPY} | 89 | rm -f ${QUOTECOPY} |
89 | cp $DATA ${QUOTECOPY} | 90 | cp $DATA ${QUOTECOPY} |
90 | verbose "$tid: get filename with quotes" | 91 | verbose "$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" |
93 | cmp ${COPY} ${QUOTECOPY} || fail "corrupted copy after get with quotes" | 94 | cmp ${COPY} ${QUOTECOPY} || fail "corrupted copy after get with quotes" |
94 | rm -f ${QUOTECOPY} ${COPY} | 95 | rm -f ${QUOTECOPY} ${COPY} |
96 | fi | ||
95 | 97 | ||
96 | rm -f ${COPY}.dd/* | 98 | rm -f ${COPY}.dd/* |
97 | verbose "$tid: get to directory" | 99 | verbose "$tid: get to directory" |