summaryrefslogtreecommitdiffstats
path: root/tests/ts/utmp/utmpdump-totxt-ipv6
diff options
context:
space:
mode:
authorSami Kerola2016-05-15 11:42:25 +0200
committerSami Kerola2016-06-27 20:57:05 +0200
commit73f46aedc316efbb8e2a719c1c6c3aef364a5553 (patch)
tree737397008bf8640acd6e92064d54f161fe0cf62b /tests/ts/utmp/utmpdump-totxt-ipv6
parenttests: fix utmpdump timestamps to be in iso format (diff)
downloadkernel-qcow2-util-linux-73f46aedc316efbb8e2a719c1c6c3aef364a5553.tar.gz
kernel-qcow2-util-linux-73f46aedc316efbb8e2a719c1c6c3aef364a5553.tar.xz
kernel-qcow2-util-linux-73f46aedc316efbb8e2a719c1c6c3aef364a5553.zip
tests: challenge utmpdump localization go-around
The utmpdump timestamps are unambiguous, they always use UTC-0 regardless of localization. If thesse tests starts to fail after this change then the timezone forcing is not working. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'tests/ts/utmp/utmpdump-totxt-ipv6')
-rwxr-xr-xtests/ts/utmp/utmpdump-totxt-ipv62
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/utmp/utmpdump-totxt-ipv6 b/tests/ts/utmp/utmpdump-totxt-ipv6
index 1b2178386..bc9704e32 100755
--- a/tests/ts/utmp/utmpdump-totxt-ipv6
+++ b/tests/ts/utmp/utmpdump-totxt-ipv6
@@ -22,7 +22,7 @@ ts_init "$*"
[ $SIZEOF_UTMP -eq 384 ] || ts_skip "utmp struct size $SIZEOF_UTMP"
export LANG=C
-export TZ=GMT
+export TZ=Asia/Tokyo
$TS_CMD_UTMPDUMP $TS_SELF/wtmp-ipv6.$BYTE_ORDER >| $TS_OUTPUT 2>/dev/null
ts_finalize