summaryrefslogtreecommitdiffstats
path: root/tests/ts/utmpdump/to-text
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/utmpdump/to-text')
-rwxr-xr-xtests/ts/utmpdump/to-text4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ts/utmpdump/to-text b/tests/ts/utmpdump/to-text
index e98215067..e36d325fb 100755
--- a/tests/ts/utmpdump/to-text
+++ b/tests/ts/utmpdump/to-text
@@ -20,8 +20,10 @@ ts_init "$*"
ts_check_test_command "$TS_CMD_UTMPDUMP"
+BYTE_ORDER=$($TS_HELPER_SYSINFO byte-order)
+
export LANG=C
export TZ=GMT
-$TS_CMD_UTMPDUMP $TS_SELF/binary >| $TS_OUTPUT 2>/dev/null
+$TS_CMD_UTMPDUMP $TS_SELF/binary.$BYTE_ORDER >| $TS_OUTPUT 2>/dev/null
ts_finalize