summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xt/lib/safe2.t1
-rwxr-xr-xt/op/groups.t1
-rwxr-xr-xt/op/mkdir.t1
3 files changed, 3 insertions, 0 deletions
diff --git a/t/lib/safe2.t b/t/lib/safe2.t
index 6afc117729..e0dcfdda1c 100755
--- a/t/lib/safe2.t
+++ b/t/lib/safe2.t
@@ -10,6 +10,7 @@ BEGIN {
}
# test 30 rather naughtily expects English error messages
$ENV{'LC_ALL'} = 'C';
+ $ENV{LANGUAGE} = 'C'; # GNU locale extension
}
# Tests Todo:
diff --git a/t/op/groups.t b/t/op/groups.t
index dc8385b853..5778795a0e 100755
--- a/t/op/groups.t
+++ b/t/op/groups.t
@@ -3,6 +3,7 @@
$ENV{PATH} ="/bin:/usr/bin:/usr/xpg4/bin:/usr/ucb" .
exists $ENV{PATH} ? ":$ENV{PATH}" : "";
$ENV{LC_ALL} = "C"; # so that external utilities speak English
+$ENV{LANGUAGE} = 'C'; # GNU locale extension
sub quit {
print "1..0\n";
diff --git a/t/op/mkdir.t b/t/op/mkdir.t
index acf16c14a4..fc91b6b6a2 100755
--- a/t/op/mkdir.t
+++ b/t/op/mkdir.t
@@ -8,6 +8,7 @@ $^O eq 'MSWin32' ? `del /s /q blurfl 2>&1` : `rm -rf blurfl`;
# tests 3 and 7 rather naughtily expect English error messages
$ENV{'LC_ALL'} = 'C';
+$ENV{LANGUAGE} = 'C'; # GNU locale extension
print (mkdir('blurfl',0777) ? "ok 1\n" : "not ok 1\n");
print (mkdir('blurfl',0777) ? "not ok 2\n" : "ok 2\n");