summaryrefslogtreecommitdiff
path: root/tests/date
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-06-29 20:24:27 +0000
committerJim Meyering <jim@meyering.net>1997-06-29 20:24:27 +0000
commit90e9fd9c771a6672344440ae431fed57bada8113 (patch)
tree52cb8bf1578cff343354c94dc284c37fb7be7261 /tests/date
parent0935e2ce3f0d9a369b4a031af574f1917ff3cfb3 (diff)
downloadcoreutils-90e9fd9c771a6672344440ae431fed57bada8113.tar.xz
.
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