summaryrefslogtreecommitdiff
path: root/tests/date/date-tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/date/date-tests')
-rwxr-xr-xtests/date/date-tests9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/date/date-tests b/tests/date/date-tests
index 62a1d6f1b..bf1f12c5c 100755
--- a/tests/date/date-tests
+++ b/tests/date/date-tests
@@ -9,6 +9,15 @@ $echo testing program: $xx
errors=0
test "$srcdir" || srcdir=.
test "$VERBOSE" && $xx --version 2> /dev/null
+
+# Make sure we get English translations.
+LANGUAGE=C
+export LANGUAGE
+LC_ALL=C
+export LC_ALL
+LANG=C
+export LANG
+
LANG=C TZ=UTC $xx -d '1997-01-19 08:17:48 +0' +'%% %a %A %b %B' > 1.O 2> 1.E
code=$?
if test $code != 0 ; then