]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream commit
authordjm@openbsd.org <djm@openbsd.org>
Mon, 30 Jan 2017 04:54:07 +0000 (04:54 +0000)
committerDamien Miller <djm@mindrot.org>
Mon, 30 Jan 2017 05:23:46 +0000 (16:23 +1100)
partially unbreak: was not specifying hostname on some
$SSH invocations

Upstream-Regress-ID: bc8a5e98e57bad0a92ef4f34ed91c1d18294e2cc

regress/forwarding.sh

index 617ac6323e898be947b37e4cd3f0770c1c3b6f66..b6d13ab722c177deb4ae4cc015934849d3668d38 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: forwarding.sh,v 1.17 2017/01/06 02:09:25 dtucker Exp $
+#      $OpenBSD: forwarding.sh,v 1.18 2017/01/30 04:54:07 djm Exp $
 #      Placed in the Public Domain.
 
 tid="local and remote forwarding"
@@ -82,7 +82,7 @@ for p in ${SSH_PROTOCOLS}; do
                fail "connection failed with cleared local forwarding"
        else
                # this one should fail
-               ${SSH} -$p -F $OBJ/ssh_config -p ${base}01 true \
+               ${SSH} -$p -F $OBJ/ssh_config -p ${base}01 somehost true \
                     >>$TEST_REGRESS_LOGFILE 2>&1 && \
                        fail "local forwarding not cleared"
        fi
@@ -96,7 +96,7 @@ for p in ${SSH_PROTOCOLS}; do
                fail "connection failed with cleared remote forwarding"
        else
                # this one should fail
-               ${SSH} -$p -F $OBJ/ssh_config -p ${base}01 true \
+               ${SSH} -$p -F $OBJ/ssh_config -p ${base}01 somehost true \
                     >>$TEST_REGRESS_LOGFILE 2>&1 && \
                        fail "remote forwarding not cleared"
        fi