]> err.no Git - util-linux/commit
login: add regression test for IP address checking code
authorKarel Zak <kzak@redhat.com>
Fri, 9 Mar 2007 13:56:18 +0000 (14:56 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 9 Mar 2007 13:56:18 +0000 (14:56 +0100)
commit71562c1fddf8d025b5de94d1df3b89278fc679b2
treeac33dd6e1441c543400cdf7a05869251c04eebe6
parent75d4dbb0d7d7937f0f5f464c3bd803d4191a6c0e
login: add regression test for IP address checking code

The hnmatch() in checktty.c is checking IP addresses if the login util
is compiled without PAM support.

Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/Makefile.am
login-utils/checktty.c
tests/Makefile.am
tests/commands.sh.in
tests/expected/ts-login-checktty [new file with mode: 0644]
tests/ts-login-checktty [new file with mode: 0755]