diff options
author | Ruediger Meier | 2017-05-31 22:21:46 +0200 |
---|---|---|
committer | Ruediger Meier | 2017-06-01 03:16:36 +0200 |
commit | 39366699484a5fa7f7c915c40dc044d15f20410a (patch) | |
tree | ab0238fb8e5f9e592225795897cc3d24bbd0f34a /tests/expected/utmp | |
parent | tests: grep's short option -A is more portable (diff) | |
download | kernel-qcow2-util-linux-39366699484a5fa7f7c915c40dc044d15f20410a.tar.gz kernel-qcow2-util-linux-39366699484a5fa7f7c915c40dc044d15f20410a.tar.xz kernel-qcow2-util-linux-39366699484a5fa7f7c915c40dc044d15f20410a.zip |
tests: avoid diff of diffs
Certain diff implementations do not produce comparable output.
Noticed on Alpine Linux/busybox.
CC: Sami Kerola <kerolasa@iki.fi>
Reported-by: Assaf Gordon <assafgordon@gmail.com>
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'tests/expected/utmp')
-rw-r--r-- | tests/expected/utmp/utmpdump-subsecond | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/expected/utmp/utmpdump-subsecond b/tests/expected/utmp/utmpdump-subsecond index 9ec40dab6..649ab7f8c 100644 --- a/tests/expected/utmp/utmpdump-subsecond +++ b/tests/expected/utmp/utmpdump-subsecond @@ -1,5 +1,4 @@ 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] +[7] [00010] [ipv6] [IPv6 ] [root ] [dns-server ] [2001:503:ba3e::2:30] [2013-08-28T20:30:40,123456+0000] +[8] [00011] [ipv6] [IPv6 ] [root ] [dns-server ] [2001:503:ba3e::2:30] [2013-08-28T20:40:50,999999+0000] +[0] [00000] [ts/0] [nonvalid] [foo ] [zero ] [0.0.0.0 ] [2013-08-28T12:00:00,12345678+0000] |