This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
GNU libc locale system has LANGUAGE env var that partly
[perl5.git]
/
t
/
op
/
mkdir.t
diff --git
a/t/op/mkdir.t
b/t/op/mkdir.t
index
acf16c1
..
fc91b6b
100755
(executable)
--- 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");