summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2017-01-30 04:54:07 +0000
committerDamien Miller <djm@mindrot.org>2017-01-30 16:23:46 +1100
commit6956e21fb26652887475fe77ea40d2efcf25908b (patch)
tree14c5499a47da254c93bc8cae7e5aabdc8d9250a8
parent52763dd3fe0a4678dafdf7aeb32286e514130afc (diff)
upstream commit
partially unbreak: was not specifying hostname on some $SSH invocations Upstream-Regress-ID: bc8a5e98e57bad0a92ef4f34ed91c1d18294e2cc
-rw-r--r--regress/forwarding.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/forwarding.sh b/regress/forwarding.sh
index 617ac6323..b6d13ab72 100644
--- a/regress/forwarding.sh
+++ b/regress/forwarding.sh
@@ -1,4 +1,4 @@
1# $OpenBSD: forwarding.sh,v 1.17 2017/01/06 02:09:25 dtucker Exp $ 1# $OpenBSD: forwarding.sh,v 1.18 2017/01/30 04:54:07 djm 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"
@@ -82,7 +82,7 @@ for p in ${SSH_PROTOCOLS}; do
82 fail "connection failed with cleared local forwarding" 82 fail "connection failed with cleared local forwarding"
83 else 83 else
84 # this one should fail 84 # this one should fail
85 ${SSH} -$p -F $OBJ/ssh_config -p ${base}01 true \ 85 ${SSH} -$p -F $OBJ/ssh_config -p ${base}01 somehost true \
86 >>$TEST_REGRESS_LOGFILE 2>&1 && \ 86 >>$TEST_REGRESS_LOGFILE 2>&1 && \
87 fail "local forwarding not cleared" 87 fail "local forwarding not cleared"
88 fi 88 fi
@@ -96,7 +96,7 @@ for p in ${SSH_PROTOCOLS}; do
96 fail "connection failed with cleared remote forwarding" 96 fail "connection failed with cleared remote forwarding"
97 else 97 else
98 # this one should fail 98 # this one should fail
99 ${SSH} -$p -F $OBJ/ssh_config -p ${base}01 true \ 99 ${SSH} -$p -F $OBJ/ssh_config -p ${base}01 somehost true \
100 >>$TEST_REGRESS_LOGFILE 2>&1 && \ 100 >>$TEST_REGRESS_LOGFILE 2>&1 && \
101 fail "remote forwarding not cleared" 101 fail "remote forwarding not cleared"
102 fi 102 fi