summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2009-10-07 10:30:06 +1100
committerDarren Tucker <dtucker@zip.com.au>2009-10-07 10:30:06 +1100
commit7023d161d86211fa6a4c7dfacdad37a53f468512 (patch)
treea1fe57e9a3785627fe799141e97d1fe129d424e6
parent695ed397a5216189629aa717d03d72ad21cdee1a (diff)
- djm@cvs.openbsd.org 2008/12/07 22:17:48
[regress/addrmatch.sh] match string "passwordauthentication" only at start of line, not anywhere in sshd -T output
-rw-r--r--ChangeLog4
-rw-r--r--regress/addrmatch.sh4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0914bf05b..826db9eaa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -88,6 +88,10 @@
88 [session.c] 88 [session.c]
89 bz#1596: fflush(NULL) before exec() to ensure that everying (motd 89 bz#1596: fflush(NULL) before exec() to ensure that everying (motd
90 in particular) has made it out before the streams go away. 90 in particular) has made it out before the streams go away.
91 - djm@cvs.openbsd.org 2008/12/07 22:17:48
92 [regress/addrmatch.sh]
93 match string "passwordauthentication" only at start of line, not anywhere
94 in sshd -T output
91 95
9220091002 9620091002
93 - (djm) [Makefile.in] Mention readconf.o in ssh-keysign's make deps. 97 - (djm) [Makefile.in] Mention readconf.o in ssh-keysign's make deps.
diff --git a/regress/addrmatch.sh b/regress/addrmatch.sh
index a258f7bb4..cbff82e5c 100644
--- a/regress/addrmatch.sh
+++ b/regress/addrmatch.sh
@@ -1,4 +1,4 @@
1# $OpenBSD: addrmatch.sh,v 1.1 2008/06/10 05:23:32 dtucker Exp $ 1# $OpenBSD: addrmatch.sh,v 1.2 2008/12/07 22:17:48 djm Exp $
2# Placed in the Public Domain. 2# Placed in the Public Domain.
3 3
4tid="address match" 4tid="address match"
@@ -12,7 +12,7 @@ run_trial()
12 verbose "test $descr for $user $addr $host" 12 verbose "test $descr for $user $addr $host"
13 result=`${SSHD} -f $OBJ/sshd_proxy -T \ 13 result=`${SSHD} -f $OBJ/sshd_proxy -T \
14 -C user=${user},addr=${addr},host=${host} | \ 14 -C user=${user},addr=${addr},host=${host} | \
15 awk '/passwordauthentication/ {print $2}'` 15 awk '/^passwordauthentication/ {print $2}'`
16 if [ "$result" != "$expected" ]; then 16 if [ "$result" != "$expected" ]; then
17 fail "failed for $user $addr $host: expected $expected, got $result" 17 fail "failed for $user $addr $host: expected $expected, got $result"
18 fi 18 fi