diff options
author | Colin Watson <cjwatson@debian.org> | 2010-03-31 00:48:57 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2010-03-31 00:48:57 +0100 |
commit | d1a87e462e1db89f19cd960588d0c6b287cb5ccc (patch) | |
tree | f0d13e1687800f36a3c4322b94ac5230ad17bdbf /regress/forwarding.sh | |
parent | 964476f91b66c475d5b8fa1e8b28d39a97a1b56e (diff) | |
parent | 004a7fb9c6a00b13dc98f56599918a54a3506d10 (diff) |
merge 5.4p1
Diffstat (limited to 'regress/forwarding.sh')
-rw-r--r-- | regress/forwarding.sh | 12 |
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 | ||
4 | tid="local and remote forwarding" | 4 | tid="local and remote forwarding" |
@@ -93,3 +93,13 @@ for p in 1 2; do | |||
93 | fi | 93 | fi |
94 | sleep 10 | 94 | sleep 10 |
95 | done | 95 | done |
96 | |||
97 | for 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 | ||
105 | done | ||