From: Jim Meyering Date: Sun, 29 Jun 1997 12:19:43 +0000 (+0000) Subject: Set and export LANGUAGE, LC_ALL, and LANG X-Git-Tag: SH-UTILS-1_16b~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a84d2bada4614e4741650f37168a18cdbaf7adad;p=thirdparty%2Fcoreutils.git Set and export LANGUAGE, LC_ALL, and LANG so tests get english strings. From Ulrich Drepper. --- diff --git a/tests/cut/mk-script.pl b/tests/cut/mk-script.pl index c85aaaa596..eb022d3246 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 (); diff --git a/tests/head/mk-script.pl b/tests/head/mk-script.pl index c85aaaa596..eb022d3246 100644 --- a/tests/head/mk-script.pl +++ b/tests/head/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 (); diff --git a/tests/join/mk-script.pl b/tests/join/mk-script.pl index c85aaaa596..eb022d3246 100644 --- a/tests/join/mk-script.pl +++ b/tests/join/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 (); diff --git a/tests/ls/mk-script.pl b/tests/ls/mk-script.pl index c85aaaa596..eb022d3246 100644 --- a/tests/ls/mk-script.pl +++ b/tests/ls/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 ();