From 783608c4598a9ab637e55dc8029ee9f643335d84 Mon Sep 17 00:00:00 2001 From: djm Date: Wed, 7 Jun 2017 01:48:15 +0000 Subject: [PATCH] unbreak after sshv1 purge --- regress/usr.bin/ssh/proto-version.sh | 4 ++-- 1 file 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-*) -- 2.20.1