summaryrefslogtreecommitdiffstats
path: root/tests/expected/utmp/last-nodns
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:14:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:14:44 +0000
commit30ff6afe596eddafacf22b1a5b2d1a3d6254ea15 (patch)
tree9b788335f92174baf7ee18f03ca8330b8c19ce2b /tests/expected/utmp/last-nodns
parentInitial commit. (diff)
downloadutil-linux-30ff6afe596eddafacf22b1a5b2d1a3d6254ea15.tar.xz
util-linux-30ff6afe596eddafacf22b1a5b2d1a3d6254ea15.zip
Adding upstream version 2.36.1.upstream/2.36.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/expected/utmp/last-nodns')
-rw-r--r--tests/expected/utmp/last-nodns124
1 files changed, 124 insertions, 0 deletions
diff --git a/tests/expected/utmp/last-nodns b/tests/expected/utmp/last-nodns
new file mode 100644
index 0000000..5b9171d
--- /dev/null
+++ b/tests/expected/utmp/last-nodns
@@ -0,0 +1,124 @@
+~~~ basic output ~~~
+rick long never-gonna-logo Thu Jan 1 00:00 - 03:14 (24855+03:14)
+torvalds linux hobby Mon Aug 26 00:57 gone - no logout
+reboot system boot system-name Wed Aug 28 18:00 still running
+reboot system boot system-name Wed Aug 28 16:00 - 17:00 (01:00)
+IPv4 root dns-server Wed Aug 28 13:00 - 14:00 (01:00)
+nonvalid foo zero Wed Aug 28 12:00 - down (03:00)
+runlevel foo one Wed Aug 28 11:00 - 12:00 (01:00)
+sysboot foo two Wed Aug 28 10:00 - 11:00 (01:00)
+newtime foo three Wed Aug 28 09:00 - 10:00 (01:00)
+oldtime foo four Wed Aug 28 08:00 - 09:00 (01:00)
+init foo five Wed Aug 28 07:00 - 08:00 (01:00)
+login foo six Wed Aug 28 06:00 - 07:00 (01:00)
+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
+~~~ include system ~~~
+rick long never-gonna-logo Thu Jan 1 00:00 - 03:14 (24855+03:14)
+torvalds linux hobby Mon Aug 26 00:57 gone - no logout
+reboot system boot system-name Wed Aug 28 18:00 still running
+shutdown system down system-name Wed Aug 28 17:00 - 18:00 (01:00)
+reboot system boot system-name Wed Aug 28 16:00 - 17:00 (01:00)
+shutdown system down system-name Wed Aug 28 15:00 - 16:00 (01:00)
+IPv4 root dns-server Wed Aug 28 13:00 - 14:00 (01:00)
+nonvalid foo zero Wed Aug 28 12:00 - down (03:00)
+runlevel foo one Wed Aug 28 11:00 - 12:00 (01:00)
+sysboot foo two Wed Aug 28 10:00 - 11:00 (01:00)
+newtime foo three Wed Aug 28 09:00 - 10:00 (01:00)
+oldtime foo four Wed Aug 28 08:00 - 09:00 (01:00)
+init foo five Wed Aug 28 07:00 - 08:00 (01:00)
+login foo six Wed Aug 28 06:00 - 07:00 (01:00)
+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
+~~~ show ip ~~~
+torvalds linux 128.214.205.14 Mon Aug 26 00:57 gone - no logout
+
+wtmp-a begins Wed Aug 28 03:00:00 2013
+~~~ no host ~~~
+torvalds linux Mon Aug 26 00:57 gone - no logout
+
+wtmp-a begins Wed Aug 28 03:00:00 2013
+~~~ full times shortopt ~~~
+rick long never-gonna-logo Thu Jan 1 00:00:00 1970 - Tue Jan 19 03:14:07 2038 (24855+03:14)
+torvalds linux hobby Mon Aug 26 00:57:08 1991 gone - no logout
+reboot system boot system-name Wed Aug 28 18:00:00 2013 still running
+reboot system boot system-name Wed Aug 28 16:00:00 2013 - Wed Aug 28 17:00:00 2013 (01:00)
+IPv4 root dns-server Wed Aug 28 13:00:00 2013 - Wed Aug 28 14:00:00 2013 (01:00)
+nonvalid foo zero Wed Aug 28 12:00:00 2013 - down (03:00)
+runlevel foo one Wed Aug 28 11:00:00 2013 - Wed Aug 28 12:00:00 2013 (01:00)
+sysboot foo two Wed Aug 28 10:00:00 2013 - Wed Aug 28 11:00:00 2013 (01:00)
+newtime foo three Wed Aug 28 09:00:00 2013 - Wed Aug 28 10:00:00 2013 (01:00)
+oldtime foo four Wed Aug 28 08:00:00 2013 - Wed Aug 28 09:00:00 2013 (01:00)
+init foo five Wed Aug 28 07:00:00 2013 - Wed Aug 28 08:00:00 2013 (01:00)
+login foo six Wed Aug 28 06:00:00 2013 - Wed Aug 28 07:00:00 2013 (01:00)
+user_pro foo seven Wed Aug 28 05:00:00 2013 - Wed Aug 28 06:00:00 2013 (01:00)
+accounti foo nine Wed Aug 28 03:00:00 2013 - Wed Aug 28 04:00:00 2013 (01:00)
+
+wtmp-a begins Wed Aug 28 03:00:00 2013
+~~~ full times longopt ~~~
+rick long never-gonna-logo Thu Jan 1 00:00:00 1970 - Tue Jan 19 03:14:07 2038 (24855+03:14)
+torvalds linux hobby Mon Aug 26 00:57:08 1991 gone - no logout
+reboot system boot system-name Wed Aug 28 18:00:00 2013 still running
+reboot system boot system-name Wed Aug 28 16:00:00 2013 - Wed Aug 28 17:00:00 2013 (01:00)
+IPv4 root dns-server Wed Aug 28 13:00:00 2013 - Wed Aug 28 14:00:00 2013 (01:00)
+nonvalid foo zero Wed Aug 28 12:00:00 2013 - down (03:00)
+runlevel foo one Wed Aug 28 11:00:00 2013 - Wed Aug 28 12:00:00 2013 (01:00)
+sysboot foo two Wed Aug 28 10:00:00 2013 - Wed Aug 28 11:00:00 2013 (01:00)
+newtime foo three Wed Aug 28 09:00:00 2013 - Wed Aug 28 10:00:00 2013 (01:00)
+oldtime foo four Wed Aug 28 08:00:00 2013 - Wed Aug 28 09:00:00 2013 (01:00)
+init foo five Wed Aug 28 07:00:00 2013 - Wed Aug 28 08:00:00 2013 (01:00)
+login foo six Wed Aug 28 06:00:00 2013 - Wed Aug 28 07:00:00 2013 (01:00)
+user_pro foo seven Wed Aug 28 05:00:00 2013 - Wed Aug 28 06:00:00 2013 (01:00)
+accounti foo nine Wed Aug 28 03:00:00 2013 - Wed Aug 28 04:00:00 2013 (01:00)
+
+wtmp-a begins Wed Aug 28 03:00:00 2013
+~~~ no time ~~~
+rick long never-gonna-logo (24855+03:14)
+torvalds linux hobby no logout
+reboot system boot system-name running
+reboot system boot system-name (01:00)
+IPv4 root dns-server (01:00)
+nonvalid foo zero (03:00)
+runlevel foo one (01:00)
+sysboot foo two (01:00)
+newtime foo three (01:00)
+oldtime foo four (01:00)
+init foo five (01:00)
+login foo six (01:00)
+user_pro foo seven (01:00)
+accounti foo nine (01:00)
+~~~ iso-8601 time ~~~
+rick long never-gonna-logout 1970-01-01T00:00:00+00:00 - 2038-01-19T03:14:07+00:00 (24855+03:14)
+torvalds linux hobby 1991-08-26T00:57:08+00:00 gone - no logout
+reboot system boot system-name 2013-08-28T18:00:00+00:00 still running
+reboot system boot system-name 2013-08-28T16:00:00+00:00 - 2013-08-28T17:00:00+00:00 (01:00)
+IPv4 root dns-server 2013-08-28T13:00:00+00:00 - 2013-08-28T14:00:00+00:00 (01:00)
+nonvalid foo zero 2013-08-28T12:00:00+00:00 - down (03:00)
+runlevel foo one 2013-08-28T11:00:00+00:00 - 2013-08-28T12:00:00+00:00 (01:00)
+sysboot foo two 2013-08-28T10:00:00+00:00 - 2013-08-28T11:00:00+00:00 (01:00)
+newtime foo three 2013-08-28T09:00:00+00:00 - 2013-08-28T10:00:00+00:00 (01:00)
+oldtime foo four 2013-08-28T08:00:00+00:00 - 2013-08-28T09:00:00+00:00 (01:00)
+init foo five 2013-08-28T07:00:00+00:00 - 2013-08-28T08:00:00+00:00 (01:00)
+login foo six 2013-08-28T06:00:00+00:00 - 2013-08-28T07:00:00+00:00 (01:00)
+user_process foo seven 2013-08-28T05:00:00+00:00 - 2013-08-28T06:00:00+00:00 (01:00)
+accounting foo nine 2013-08-28T03:00:00+00:00 - 2013-08-28T04:00:00+00:00 (01:00)
+
+wtmp-a begins 2013-08-28T03:00:00+00:00
+~~~ since and until ~~~
+oldtime foo four Wed Aug 28 08:00 gone - no logout
+init foo five Wed Aug 28 07:00 - 08:00 (01:00)
+login foo six Wed Aug 28 06:00 - 07:00 (01:00)
+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
+~~~ present ~~~
+rick long never-gonna-logo Thu Jan 1 00:00 - 03:14 (24855+03:14)
+torvalds linux hobby Mon Aug 26 00:57 gone - no logout
+runlevel foo one Wed Aug 28 11:00 - 12:00 (01:00)
+
+wtmp-a begins Wed Aug 28 03:00:00 2013