summaryrefslogtreecommitdiffstats
path: root/tests/expected/utmp
diff options
context:
space:
mode:
authorSami Kerola2016-05-15 11:55:54 +0200
committerSami Kerola2016-06-27 20:57:29 +0200
commitb5ef1507df78a4e7e08a1fdc94595528a4c1561c (patch)
tree44ed9afb1e37af9ff02a010e4902ae0c8812397f /tests/expected/utmp
parenttests: challenge utmpdump localization go-around (diff)
downloadkernel-qcow2-util-linux-b5ef1507df78a4e7e08a1fdc94595528a4c1561c.tar.gz
kernel-qcow2-util-linux-b5ef1507df78a4e7e08a1fdc94595528a4c1561c.tar.xz
kernel-qcow2-util-linux-b5ef1507df78a4e7e08a1fdc94595528a4c1561c.zip
tests: utmpdump add subsecond accuracy test
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'tests/expected/utmp')
-rw-r--r--tests/expected/utmp/utmpdump-subsecond5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/expected/utmp/utmpdump-subsecond b/tests/expected/utmp/utmpdump-subsecond
new file mode 100644
index 000000000..9ec40dab6
--- /dev/null
+++ b/tests/expected/utmp/utmpdump-subsecond
@@ -0,0 +1,5 @@
+last 9 is expected to disappear in conversion
+3c3
+< [0] [00000] [ts/0] [nonvalid] [foo ] [zero ] [0.0.0.0 ] [2013-08-28T12:00:00,123456789+0000]
+---
+> [0] [00000] [ts/0] [nonvalid] [foo ] [zero ] [0.0.0.0 ] [2013-08-28T12:00:00,12345678+0000]