summaryrefslogtreecommitdiff
path: root/regress/proto-version.sh
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2017-06-07 01:48:15 +0000
committerDamien Miller <djm@mindrot.org>2017-06-08 13:11:11 +1000
commit1de5e47a85850526a4fdaf77185134046c050f75 (patch)
tree703f4c45786032846efe7a50f3b85aa07f6f4242 /regress/proto-version.sh
parent550c053168123fcc0791f9952abad684704b5760 (diff)
upstream commit
unbreak after sshv1 purge Upstream-Regress-ID: 8ea01a92d5f571b9fba88c1463a4254a7552d51b
Diffstat (limited to 'regress/proto-version.sh')
-rw-r--r--regress/proto-version.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/proto-version.sh b/regress/proto-version.sh
index 5faeb758c..1f33b1f00 100644
--- a/regress/proto-version.sh
+++ b/regress/proto-version.sh
@@ -1,4 +1,4 @@
1# $OpenBSD: proto-version.sh,v 1.6 2017/04/30 23:34:55 djm Exp $ 1# $OpenBSD: proto-version.sh,v 1.7 2017/06/07 01:48:15 djm Exp $
2# Placed in the Public Domain. 2# Placed in the Public Domain.
3 3
4tid="sshd version with different protocol combinations" 4tid="sshd version with different protocol combinations"
@@ -6,7 +6,7 @@ tid="sshd version with different protocol combinations"
6# we just start sshd in inetd mode and check the banner 6# we just start sshd in inetd mode and check the banner
7check_version () 7check_version ()
8{ 8{
9 expect=$2 9 expect=$1
10 banner=`printf '' | ${SSHD} -i -f ${OBJ}/sshd_proxy` 10 banner=`printf '' | ${SSHD} -i -f ${OBJ}/sshd_proxy`
11 case ${banner} in 11 case ${banner} in
12 SSH-1.99-*) 12 SSH-1.99-*)