summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2017-01-30 04:54:08 +0000
committerDamien Miller <djm@cvs.openbsd.org>2017-01-30 04:54:08 +0000
commit7b221943462797c7fa784187fb84eb9d16f2d958 (patch)
treec6d9e3008aa7c2e11569876037fd15823479d2f6
parent46e3db1db481bfd6667448f2d932c10fa60c87c1 (diff)
partially unbreak: was not specifying hostname on some $SSH invocations
-rw-r--r--regress/usr.bin/ssh/forwarding.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.bin/ssh/forwarding.sh b/regress/usr.bin/ssh/forwarding.sh
index ae464a08017..d7754e3b7a2 100644
--- a/regress/usr.bin/ssh/forwarding.sh
+++ b/regress/usr.bin/ssh/forwarding.sh
@@ -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"
@@ -80,7 +80,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
@@ -94,7 +94,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