- 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
This commit is contained in:
parent
695ed397a5
commit
7023d161d8
|
@ -88,6 +88,10 @@
|
||||||
[session.c]
|
[session.c]
|
||||||
bz#1596: fflush(NULL) before exec() to ensure that everying (motd
|
bz#1596: fflush(NULL) before exec() to ensure that everying (motd
|
||||||
in particular) has made it out before the streams go away.
|
in particular) has made it out before the streams go away.
|
||||||
|
- 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
|
||||||
|
|
||||||
20091002
|
20091002
|
||||||
- (djm) [Makefile.in] Mention readconf.o in ssh-keysign's make deps.
|
- (djm) [Makefile.in] Mention readconf.o in ssh-keysign's make deps.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $OpenBSD: addrmatch.sh,v 1.1 2008/06/10 05:23:32 dtucker Exp $
|
# $OpenBSD: addrmatch.sh,v 1.2 2008/12/07 22:17:48 djm Exp $
|
||||||
# Placed in the Public Domain.
|
# Placed in the Public Domain.
|
||||||
|
|
||||||
tid="address match"
|
tid="address match"
|
||||||
|
@ -12,7 +12,7 @@ run_trial()
|
||||||
verbose "test $descr for $user $addr $host"
|
verbose "test $descr for $user $addr $host"
|
||||||
result=`${SSHD} -f $OBJ/sshd_proxy -T \
|
result=`${SSHD} -f $OBJ/sshd_proxy -T \
|
||||||
-C user=${user},addr=${addr},host=${host} | \
|
-C user=${user},addr=${addr},host=${host} | \
|
||||||
awk '/passwordauthentication/ {print $2}'`
|
awk '/^passwordauthentication/ {print $2}'`
|
||||||
if [ "$result" != "$expected" ]; then
|
if [ "$result" != "$expected" ]; then
|
||||||
fail "failed for $user $addr $host: expected $expected, got $result"
|
fail "failed for $user $addr $host: expected $expected, got $result"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue