summaryrefslogtreecommitdiffstats
path: root/tests/ts/utmp/utmpdump-circle
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-circle
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-circle')
-rwxr-xr-xtests/ts/utmp/utmpdump-circle2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/utmp/utmpdump-circle b/tests/ts/utmp/utmpdump-circle
index 9663dba70..0065f705b 100755
--- a/tests/ts/utmp/utmpdump-circle
+++ b/tests/ts/utmp/utmpdump-circle
@@ -22,7 +22,7 @@ ts_init "$*"
ts_check_test_command "$TS_CMD_UTMPDUMP"
export LANG=C
-export TZ=GMT
+export TZ=Asia/Tokyo
OUT_BIN1=${TS_OUTDIR}/${TS_TESTNAME}.bin1
OUT_BIN2=${TS_OUTDIR}/${TS_TESTNAME}.bin2
OUT_TXT=${TS_OUTDIR}/${TS_TESTNAME}.txt