summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authordtucker <dtucker>2004-04-16 07:58:28 +0000
committerdtucker <dtucker>2004-04-16 07:58:28 +0000
commit616e94b2aa2377a5b14b33d86994941dd07ba5cf (patch)
treeb9aca2670c08013265c7bdfb219a8f75e7ff8244 /regress
parent73cbd5e9cbf7d8b76acee88f8eefa3a69d4deea8 (diff)
downloadopenssh-616e94b2aa2377a5b14b33d86994941dd07ba5cf.tar.gz
- (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')
-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 3669b19f..31b21d1f 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 \
|| fail "get failed"
cmp $DATA ${COPY} || fail "corrupted copy after get"
+if [ "$os" != "cygwin" ]; then
rm -f ${QUOTECOPY}
cp $DATA ${QUOTECOPY}
verbose "$tid: get filename with quotes"
@@ -92,6 +93,7 @@ echo "get \"$QUOTECOPY_ARG\" ${COPY}" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1
|| fail "put failed"
cmp ${COPY} ${QUOTECOPY} || fail "corrupted copy after get with quotes"
rm -f ${QUOTECOPY} ${COPY}
+fi
rm -f ${COPY}.dd/*
verbose "$tid: get to directory"