summaryrefslogtreecommitdiffstats
path: root/tests/expected/login
diff options
context:
space:
mode:
authorKarel Zak2009-01-19 17:29:17 +0100
committerKarel Zak2009-02-11 23:21:52 +0100
commit1cec8fc9f204823795752f33ecdd0fdbc4e3a307 (patch)
tree911a340a9348d5aaf894441732de32fe31d04268 /tests/expected/login
parenttests: remove input directory (diff)
downloadkernel-qcow2-util-linux-1cec8fc9f204823795752f33ecdd0fdbc4e3a307.tar.gz
kernel-qcow2-util-linux-1cec8fc9f204823795752f33ecdd0fdbc4e3a307.tar.xz
kernel-qcow2-util-linux-1cec8fc9f204823795752f33ecdd0fdbc4e3a307.zip
tests: create expected/$(component)/$(testname)
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/expected/login')
-rw-r--r--tests/expected/login/checktty8
-rw-r--r--tests/expected/login/islocal13
2 files changed, 21 insertions, 0 deletions
diff --git a/tests/expected/login/checktty b/tests/expected/login/checktty
new file mode 100644
index 000000000..2e1b2c1a1
--- /dev/null
+++ b/tests/expected/login/checktty
@@ -0,0 +1,8 @@
+hnmatch() on 130.225.16.0/255.255.254.0 <-- 130.225.16.1 : match
+hnmatch() on 130.225.16.0/255.255.254.0 <-- 10.20.30.1 : mismatch
+hnmatch() on 130.225.0.0/255.254.0.0 <-- 130.225.16.1 : match
+hnmatch() on 130.225.0.0/255.254.0.0 <-- 130.225.17.1 : match
+hnmatch() on 130.225.0.0/255.254.0.0 <-- 150.160.170.180: mismatch
+hnmatch() on [3ffe:505:2:1::]/64 <-- 3ffe:505:2:1:: : match
+hnmatch() on [3ffe:505:2:1::]/64 <-- 3ffe:505:2:2:: : mismatch
+hnmatch() on [3ffe:505:2:1::]/64 <-- 3ffe:505:2:1:ffff:ffff::: match
diff --git a/tests/expected/login/islocal b/tests/expected/login/islocal
new file mode 100644
index 000000000..c5d43ff5c
--- /dev/null
+++ b/tests/expected/login/islocal
@@ -0,0 +1,13 @@
+1:root
+1:nobody
+0:
+0:youngman
+0:youngman2
+0:abcdefghx
+0:nobo
+1:long
+0:rot
+1:al
+0:malformed
+1:nonl
+0:znobody