summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/regress/host-expand.sh
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/regress/host-expand.sh')
-rwxr-xr-xcrypto/openssh/regress/host-expand.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/openssh/regress/host-expand.sh b/crypto/openssh/regress/host-expand.sh
index 6cc0e60..2a95bfe 100755
--- a/crypto/openssh/regress/host-expand.sh
+++ b/crypto/openssh/regress/host-expand.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: host-expand.sh,v 1.3 2014/02/27 23:17:41 djm Exp $
+# $OpenBSD: host-expand.sh,v 1.4 2015/03/03 22:35:19 markus Exp $
# Placed in the Public Domain.
tid="expand %h and %n"
@@ -11,7 +11,7 @@ somehost
127.0.0.1
EOE
-for p in 1 2; do
+for p in ${SSH_PROTOCOLS}; do
verbose "test $tid: proto $p"
${SSH} -F $OBJ/ssh_proxy -$p somehost true >$OBJ/actual
diff $OBJ/expect $OBJ/actual || fail "$tid proto $p"
OpenPOWER on IntegriCloud