summaryrefslogtreecommitdiff
path: root/tests/cut
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-06-29 12:19:43 +0000
committerJim Meyering <jim@meyering.net>1997-06-29 12:19:43 +0000
commita84d2bada4614e4741650f37168a18cdbaf7adad (patch)
tree5d8d304cd0bf8d2bdd20592cd955c714d025520f /tests/cut
parent9654920c40d76b5999a35f889b6b822714515bb9 (diff)
downloadcoreutils-a84d2bada4614e4741650f37168a18cdbaf7adad.tar.xz
Set and export LANGUAGE, LC_ALL, and LANG
so tests get english strings. From Ulrich Drepper.
Diffstat (limited to 'tests/cut')
-rw-r--r--tests/cut/mk-script.pl9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/cut/mk-script.pl b/tests/cut/mk-script.pl
index c85aaaa59..eb022d324 100644
--- a/tests/cut/mk-script.pl
+++ b/tests/cut/mk-script.pl
@@ -223,6 +223,15 @@ test "\$VERBOSE" && echo=echo || echo=:
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
+
EOF1
validate ();