From: djm Date: Wed, 7 Jun 2017 01:48:15 +0000 (+0000) Subject: unbreak after sshv1 purge X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=783608c4598a9ab637e55dc8029ee9f643335d84;p=openbsd unbreak after sshv1 purge --- 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-*)