]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
drop old Cygwin considerations
authorCorinna Vinschen <vinschen@redhat.com>
Wed, 27 Mar 2019 17:18:21 +0000 (18:18 +0100)
committerDamien Miller <djm@mindrot.org>
Wed, 27 Mar 2019 22:23:46 +0000 (09:23 +1100)
- Cygwin supports non-DOS characters in filenames
- Cygwin does not support Windows XP anymore

Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
regress/sftp-cmds.sh
regress/test-exec.sh

index aad7fcac2325b0acc4503ea3a5d2e6a8ffe956ff..1289c4089c6c87d3a0f1b90ec37abacf5fd0be68 100644 (file)
@@ -77,7 +77,6 @@ echo "get \"$DATA\" $COPY" | ${SFTP} -D ${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"
@@ -85,7 +84,6 @@ echo "get \"$QUOTECOPY_ARG\" ${COPY}" | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1
        || fail "get failed"
 cmp ${COPY} ${QUOTECOPY} || fail "corrupted copy after get with quotes"
 rm -f ${QUOTECOPY} ${COPY}
-fi
 
 rm -f "$SPACECOPY" ${COPY}
 cp $DATA "$SPACECOPY"
@@ -136,13 +134,11 @@ echo "put $DATA $COPY" | \
        ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 || fail "put failed"
 cmp $DATA ${COPY} || fail "corrupted copy after put"
 
-if [ "$os" != "cygwin" ]; then
 rm -f ${QUOTECOPY}
 verbose "$tid: put filename with quotes"
 echo "put $DATA \"$QUOTECOPY_ARG\"" | \
        ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 || fail "put failed"
 cmp $DATA ${QUOTECOPY} || fail "corrupted copy after put with quotes"
-fi
 
 rm -f "$SPACECOPY"
 verbose "$tid: put filename with spaces"
index e8379e17873ffed1d6345a3f34840efb1f750650..b8e2009de8f9e4cba16fb2c96348e58709f567e3 100644 (file)
@@ -12,10 +12,6 @@ OSF1*)
        BIN_SH=xpg4
        export BIN_SH
        ;;
-CYGWIN_NT-5.0)
-       os=cygwin
-       TEST_SSH_IPV6=no
-       ;;
 CYGWIN*)
        os=cygwin
        ;;