summaryrefslogtreecommitdiff
path: root/regress/forwarding.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regress/forwarding.sh')
-rw-r--r--regress/forwarding.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/regress/forwarding.sh b/regress/forwarding.sh
index 9ffbb3dd4..6dec991a6 100644
--- a/regress/forwarding.sh
+++ b/regress/forwarding.sh
@@ -1,4 +1,4 @@
1# $OpenBSD: forwarding.sh,v 1.6 2006/07/11 18:51:21 markus Exp $ 1# $OpenBSD: forwarding.sh,v 1.7 2010/01/11 02:53:44 dtucker Exp $
2# Placed in the Public Domain. 2# Placed in the Public Domain.
3 3
4tid="local and remote forwarding" 4tid="local and remote forwarding"
@@ -93,3 +93,13 @@ for p in 1 2; do
93 fi 93 fi
94 sleep 10 94 sleep 10
95done 95done
96
97for p in 2; do
98 trace "stdio forwarding proto $p"
99 cmd="${SSH} -$p -F $OBJ/ssh_config"
100 $cmd -o "ProxyCommand $cmd -q -W localhost:$PORT somehost" \
101 somehost true
102 if [ $? != 0 ]; then
103 fail "stdio forwarding proto $p"
104 fi
105done