diff options
author | Ruediger Meier | 2014-06-11 19:22:41 +0200 |
---|---|---|
committer | Ruediger Meier | 2014-06-12 01:09:35 +0200 |
commit | fa57e908dad47fea5d7115148ec591c729ae44c6 (patch) | |
tree | aed426e7e5a47fe022f626a98bfa9a929e78214e /tests/expected/utmp | |
parent | tests: add utmpdump-circle test (arch independent) (diff) | |
download | kernel-qcow2-util-linux-fa57e908dad47fea5d7115148ec591c729ae44c6.tar.gz kernel-qcow2-util-linux-fa57e908dad47fea5d7115148ec591c729ae44c6.tar.xz kernel-qcow2-util-linux-fa57e908dad47fea5d7115148ec591c729ae44c6.zip |
tests: split last into dns and nodns subtests
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'tests/expected/utmp')
-rw-r--r-- | tests/expected/utmp/last-dns | 12 | ||||
-rw-r--r-- | tests/expected/utmp/last-ipv6-dns (renamed from tests/expected/utmp/last-ipv6) | 8 | ||||
-rw-r--r-- | tests/expected/utmp/last-ipv6-nodns | 8 | ||||
-rw-r--r-- | tests/expected/utmp/last-nodns (renamed from tests/expected/utmp/last) | 12 |
4 files changed, 20 insertions, 20 deletions
diff --git a/tests/expected/utmp/last-dns b/tests/expected/utmp/last-dns new file mode 100644 index 000000000..34012c7f1 --- /dev/null +++ b/tests/expected/utmp/last-dns @@ -0,0 +1,12 @@ +~~~ dns short ~~~ +IPv4 root a.root-servers.n Wed Aug 28 13:00 - 14:00 (01:00) + +wtmp-a begins Wed Aug 28 03:00:00 2013 +~~~ dns long ~~~ +IPv4 root a.root-servers.net Wed Aug 28 13:00 - 14:00 (01:00) + +wtmp-a begins Wed Aug 28 03:00:00 2013 +~~~ dns host last ~~~ +IPv4 root Wed Aug 28 13:00 - 14:00 (01:00) a.root-servers.net + +wtmp-a begins Wed Aug 28 03:00:00 2013 diff --git a/tests/expected/utmp/last-ipv6 b/tests/expected/utmp/last-ipv6-dns index 5be77298a..aa53a6451 100644 --- a/tests/expected/utmp/last-ipv6 +++ b/tests/expected/utmp/last-ipv6-dns @@ -10,11 +10,3 @@ wtmp-ipv6 begins Wed Aug 28 20:30:40 2013 IPv6 root Wed Aug 28 20:30 - 20:40 (00:10) a.root-servers.net wtmp-ipv6 begins Wed Aug 28 20:30:40 2013 -~~~ show ip ~~~ -IPv6 root 2001:503:ba3e::2 Wed Aug 28 20:30 - 20:40 (00:10) - -wtmp-ipv6 begins Wed Aug 28 20:30:40 2013 -~~~ show ip last ~~~ -IPv6 root Wed Aug 28 20:30 - 20:40 (00:10) 2001:503:ba3e::2:30 - -wtmp-ipv6 begins Wed Aug 28 20:30:40 2013 diff --git a/tests/expected/utmp/last-ipv6-nodns b/tests/expected/utmp/last-ipv6-nodns new file mode 100644 index 000000000..65d422a45 --- /dev/null +++ b/tests/expected/utmp/last-ipv6-nodns @@ -0,0 +1,8 @@ +~~~ show ip ~~~ +IPv6 root 2001:503:ba3e::2 Wed Aug 28 20:30 - 20:40 (00:10) + +wtmp-ipv6 begins Wed Aug 28 20:30:40 2013 +~~~ show ip last ~~~ +IPv6 root Wed Aug 28 20:30 - 20:40 (00:10) 2001:503:ba3e::2:30 + +wtmp-ipv6 begins Wed Aug 28 20:30:40 2013 diff --git a/tests/expected/utmp/last b/tests/expected/utmp/last-nodns index 2958152bc..cb7cfde09 100644 --- a/tests/expected/utmp/last +++ b/tests/expected/utmp/last-nodns @@ -34,18 +34,6 @@ user_pro foo seven Wed Aug 28 05:00 - 06:00 (01:00) accounti foo nine Wed Aug 28 03:00 - 04:00 (01:00) wtmp-a begins Wed Aug 28 03:00:00 2013 -~~~ dns short ~~~ -IPv4 root a.root-servers.n Wed Aug 28 13:00 - 14:00 (01:00) - -wtmp-a begins Wed Aug 28 03:00:00 2013 -~~~ dns long ~~~ -IPv4 root a.root-servers.net Wed Aug 28 13:00 - 14:00 (01:00) - -wtmp-a begins Wed Aug 28 03:00:00 2013 -~~~ dns host last ~~~ -IPv4 root Wed Aug 28 13:00 - 14:00 (01:00) a.root-servers.net - -wtmp-a begins Wed Aug 28 03:00:00 2013 ~~~ show ip ~~~ torvalds linux 128.214.205.14 Mon Aug 26 00:57 gone - no logout |