summaryrefslogtreecommitdiffstats
path: root/tests/ts/utmpdump/to-binary
diff options
context:
space:
mode:
authorKarel Zak2013-03-04 13:10:09 +0100
committerKarel Zak2013-03-04 13:10:09 +0100
commit02658d9bb56976b462724b306e9e1f4385ef4b93 (patch)
tree6dabf30f306bf89f81c52fa8a18d545ae7063f1c /tests/ts/utmpdump/to-binary
parentionice: keep output backwardly compatible (diff)
downloadkernel-qcow2-util-linux-02658d9bb56976b462724b306e9e1f4385ef4b93.tar.gz
kernel-qcow2-util-linux-02658d9bb56976b462724b306e9e1f4385ef4b93.tar.xz
kernel-qcow2-util-linux-02658d9bb56976b462724b306e9e1f4385ef4b93.zip
tests: make utmpdump TZ independent
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/utmpdump/to-binary')
-rwxr-xr-xtests/ts/utmpdump/to-binary2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ts/utmpdump/to-binary b/tests/ts/utmpdump/to-binary
index 25acbf662..f2ec324ce 100755
--- a/tests/ts/utmpdump/to-binary
+++ b/tests/ts/utmpdump/to-binary
@@ -18,6 +18,8 @@ TS_DESC="to-binary"
. $TS_TOPDIR/functions.sh
ts_init "$*"
+export LANG=C
+export TZ=GMT
$TS_CMD_UTMPDUMP -r $TS_SELF/text >| $TS_OUTPUT 2>/dev/null
ts_finalize