summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2017-06-07 01:48:16 +0000
committerDamien Miller <djm@cvs.openbsd.org>2017-06-07 01:48:16 +0000
commit358cd1eb4d75ea6e72031ca9015decfa013a4b1f (patch)
treeb9d3f4acd8ea5142ee75d70aaa3d7e7999a67095 /regress
parent2f73e4c4e2bc7eeb6ebc0593aa314d0e33bcc55c (diff)
unbreak after sshv1 purge
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/ssh/proto-version.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.bin/ssh/proto-version.sh b/regress/usr.bin/ssh/proto-version.sh
index 5faeb758cfa..1f33b1f00b7 100644
--- a/regress/usr.bin/ssh/proto-version.sh
+++ b/regress/usr.bin/ssh/proto-version.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: proto-version.sh,v 1.6 2017/04/30 23:34:55 djm Exp $
+# $OpenBSD: proto-version.sh,v 1.7 2017/06/07 01:48:15 djm Exp $
# Placed in the Public Domain.
tid="sshd version with different protocol combinations"
@@ -6,7 +6,7 @@ tid="sshd version with different protocol combinations"
# we just start sshd in inetd mode and check the banner
check_version ()
{
- expect=$2
+ expect=$1
banner=`printf '' | ${SSHD} -i -f ${OBJ}/sshd_proxy`
case ${banner} in
SSH-1.99-*)