]> andersk Git - openssh.git/blobdiff - regress/proxy-connect.sh
- dtucker@cvs.openbsd.org 2010/01/12 00:16:47
[openssh.git] / regress / proxy-connect.sh
index bf1940fcc0e1cdc8894f2bac299ce61d1bb508bc..6a36b2513b5a67076f1d4157c0c7de4706aecbdb 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: proxy-connect.sh,v 1.4 2002/03/15 13:08:56 markus Exp $
+#      $OpenBSD: proxy-connect.sh,v 1.5 2002/12/09 15:28:46 markus Exp $
 #      Placed in the Public Domain.
 
 tid="proxy connect"
@@ -8,4 +8,11 @@ for p in 1 2; do
        if [ $? -ne 0 ]; then
                fail "ssh proxyconnect protocol $p failed"
        fi
+       SSH_CONNECTION=`${SSH} -$p -F $OBJ/ssh_proxy 999.999.999.999 'echo $SSH_CONNECTION'`
+       if [ $? -ne 0 ]; then
+               fail "ssh proxyconnect protocol $p failed"
+       fi
+       if [ "$SSH_CONNECTION" != "UNKNOWN 65535 UNKNOWN 65535" ]; then
+               fail "bad SSH_CONNECTION"
+       fi
 done
This page took 0.03712 seconds and 4 git commands to generate.