diff options
author | Damien Miller <djm@mindrot.org> | 2003-01-22 17:53:16 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-01-22 17:53:16 +1100 |
commit | 8b9cde784784949f9fdf0451f9da9030b76ca705 (patch) | |
tree | 9bf6279aa53922b3a251a5ca6d5f26c929a55251 /regress/proxy-connect.sh | |
parent | e9b7d720c8de6c293a3632c1fbf02cfa9c542923 (diff) |
- (djm) Sync regress with OpenBSD -current
Diffstat (limited to 'regress/proxy-connect.sh')
-rw-r--r-- | regress/proxy-connect.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/regress/proxy-connect.sh b/regress/proxy-connect.sh index bf1940fcc..6a36b2513 100644 --- a/regress/proxy-connect.sh +++ b/regress/proxy-connect.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: proxy-connect.sh,v 1.4 2002/03/15 13:08:56 markus Exp $ | 1 | # $OpenBSD: proxy-connect.sh,v 1.5 2002/12/09 15:28:46 markus Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="proxy connect" | 4 | tid="proxy connect" |
@@ -8,4 +8,11 @@ for p in 1 2; do | |||
8 | if [ $? -ne 0 ]; then | 8 | if [ $? -ne 0 ]; then |
9 | fail "ssh proxyconnect protocol $p failed" | 9 | fail "ssh proxyconnect protocol $p failed" |
10 | fi | 10 | fi |
11 | SSH_CONNECTION=`${SSH} -$p -F $OBJ/ssh_proxy 999.999.999.999 'echo $SSH_CONNECTION'` | ||
12 | if [ $? -ne 0 ]; then | ||
13 | fail "ssh proxyconnect protocol $p failed" | ||
14 | fi | ||
15 | if [ "$SSH_CONNECTION" != "UNKNOWN 65535 UNKNOWN 65535" ]; then | ||
16 | fail "bad SSH_CONNECTION" | ||
17 | fi | ||
11 | done | 18 | done |