diff options
-rw-r--r-- | regress/proxy-connect.sh | 10 | ||||
-rw-r--r-- | regress/putty-transfer.sh | 10 |
2 files changed, 16 insertions, 4 deletions
diff --git a/regress/proxy-connect.sh b/regress/proxy-connect.sh index 39bbd3c96..8847fe0c6 100644 --- a/regress/proxy-connect.sh +++ b/regress/proxy-connect.sh | |||
@@ -1,9 +1,15 @@ | |||
1 | # $OpenBSD: proxy-connect.sh,v 1.11 2017/09/26 22:39:25 dtucker Exp $ | 1 | # $OpenBSD: proxy-connect.sh,v 1.12 2020/01/23 11:19:12 dtucker Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="proxy connect" | 4 | tid="proxy connect" |
5 | 5 | ||
6 | for c in no yes; do | 6 | if [ "`${SSH} -Q compression`" = "none" ]; then |
7 | comp="no" | ||
8 | else | ||
9 | comp="no yes" | ||
10 | fi | ||
11 | |||
12 | for c in $comp; do | ||
7 | verbose "plain username comp=$c" | 13 | verbose "plain username comp=$c" |
8 | opts="-oCompression=$c -F $OBJ/ssh_proxy" | 14 | opts="-oCompression=$c -F $OBJ/ssh_proxy" |
9 | SSH_CONNECTION=`${SSH} $opts 999.999.999.999 'echo $SSH_CONNECTION'` | 15 | SSH_CONNECTION=`${SSH} $opts 999.999.999.999 'echo $SSH_CONNECTION'` |
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 \ |