summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/cut/cut-tests9
-rwxr-xr-xtests/join/join-tests9
-rwxr-xr-xtests/md5sum/md5sum-tests9
-rwxr-xr-xtests/pr/pr-tests9
-rwxr-xr-xtests/sort/sort-tests9
-rwxr-xr-xtests/tac/tac-tests9
-rwxr-xr-xtests/tail/tail-tests9
-rwxr-xr-xtests/tr/tr-tests9
8 files changed, 72 insertions, 0 deletions
diff --git a/tests/cut/cut-tests b/tests/cut/cut-tests
index cc739a913..c94f7d3ad 100755
--- a/tests/cut/cut-tests
+++ b/tests/cut/cut-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
+
$xx -d: -f1,3- $srcdir/1.I > 1.O 2> 1.E
code=$?
if test $code != 0 ; then
diff --git a/tests/join/join-tests b/tests/join/join-tests
index c7e7456c3..35d4a57db 100755
--- a/tests/join/join-tests
+++ b/tests/join/join-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
+
$xx -a1 $srcdir/1a.I1 $srcdir/1a.I2 > 1a.O 2> 1a.E
code=$?
if test $code != 0 ; then
diff --git a/tests/md5sum/md5sum-tests b/tests/md5sum/md5sum-tests
index e750c6065..28738288f 100755
--- a/tests/md5sum/md5sum-tests
+++ b/tests/md5sum/md5sum-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
+
cat $srcdir/1.I | $xx > 1.O 2> 1.E
code=$?
if test $code != 0 ; then
diff --git a/tests/pr/pr-tests b/tests/pr/pr-tests
index fb1fce63e..0358bddd4 100755
--- a/tests/pr/pr-tests
+++ b/tests/pr/pr-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
+
$xx --test -h x $srcdir/0Ft > 1a.O 2> 1a.E
code=$?
if test $code != 0 ; then
diff --git a/tests/sort/sort-tests b/tests/sort/sort-tests
index 6fb31b741..a5016cdab 100755
--- a/tests/sort/sort-tests
+++ b/tests/sort/sort-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
+
$xx $srcdir/01a.I > 01a.O 2> 01a.E
code=$?
if test $code != 0 ; then
diff --git a/tests/tac/tac-tests b/tests/tac/tac-tests
index 48c7af901..b98f0f8c1 100755
--- a/tests/tac/tac-tests
+++ b/tests/tac/tac-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
+
$xx $srcdir/basic-0.I > basic-0.O 2> basic-0.E
code=$?
if test $code != 0 ; then
diff --git a/tests/tail/tail-tests b/tests/tail/tail-tests
index a89cf3638..e51fdb1c5 100755
--- a/tests/tail/tail-tests
+++ b/tests/tail/tail-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
+
$xx +2c $srcdir/obs-c1.I > obs-c1.O 2> obs-c1.E
code=$?
if test $code != 0 ; then
diff --git a/tests/tr/tr-tests b/tests/tr/tr-tests
index 4251b31a9..68ce7a7d0 100755
--- a/tests/tr/tr-tests
+++ b/tests/tr/tr-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
+
cat $srcdir/1.I | $xx 'abcd' '[]*]' > 1.O 2> 1.E
code=$?
if test $code != 0 ; then