diff options
Diffstat (limited to 'regress/putty-transfer.sh')
-rw-r--r-- | regress/putty-transfer.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/regress/putty-transfer.sh b/regress/putty-transfer.sh index 4928d4533..14b41022f 100644 --- a/regress/putty-transfer.sh +++ b/regress/putty-transfer.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: putty-transfer.sh,v 1.6 2018/02/23 03:03:00 djm Exp $ | 1 | # $OpenBSD: putty-transfer.sh,v 1.7 2020/01/23 11:19:12 dtucker Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="putty transfer data" | 4 | tid="putty transfer data" |
@@ -8,7 +8,13 @@ if test "x$REGRESS_INTEROP_PUTTY" != "xyes" ; then | |||
8 | exit 0 | 8 | exit 0 |
9 | fi | 9 | fi |
10 | 10 | ||
11 | for c in 0 1 ; do | 11 | if [ "`${SSH} -Q compression`" = "none" ]; then |
12 | comp="0" | ||
13 | else | ||
14 | comp="0 1" | ||
15 | fi | ||
16 | |||
17 | for c in $comp; do | ||
12 | verbose "$tid: compression $c" | 18 | verbose "$tid: compression $c" |
13 | rm -f ${COPY} | 19 | rm -f ${COPY} |
14 | cp ${OBJ}/.putty/sessions/localhost_proxy \ | 20 | cp ${OBJ}/.putty/sessions/localhost_proxy \ |