summaryrefslogtreecommitdiff
path: root/tests/date
diff options
context:
space:
mode:
Diffstat (limited to 'tests/date')
-rw-r--r--tests/date/Makefile.in1
-rwxr-xr-xtests/date/date-tests9
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/date/Makefile.in b/tests/date/Makefile.in
index 3fda75693..a3a933f30 100644
--- a/tests/date/Makefile.in
+++ b/tests/date/Makefile.in
@@ -67,6 +67,7 @@ INTLLIBS = @INTLLIBS@
INTLOBJS = @INTLOBJS@
KMEM_GROUP = @KMEM_GROUP@
LIBOBJS = @LIBOBJS@
+LIB_CRYPT = @LIB_CRYPT@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
MAN = @MAN@
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