aboutsummaryrefslogtreecommitdiff
path: root/tests/testcurl.pl
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-05-12 11:24:29 +0000
committerYang Tse <yangsita@gmail.com>2009-05-12 11:24:29 +0000
commitf882a63cbafff3a60da3ce3defb2c545ad8ba350 (patch)
tree02e79e9b992da34918390645c6ada27cc978ff58 /tests/testcurl.pl
parent611b3584d69c74914eabd1c77f26ac1a82bcbd1f (diff)
fix LC_ALL and LC_CTYPE when set with conflicting values
Diffstat (limited to 'tests/testcurl.pl')
-rwxr-xr-xtests/testcurl.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl
index ef60567d5..8cba54ac9 100755
--- a/tests/testcurl.pl
+++ b/tests/testcurl.pl
@@ -166,7 +166,8 @@ if (($^O eq 'MSWin32') &&
$confsuffix = '-win32';
}
-
+$ENV{LC_ALL}="C" if (($ENV{LC_ALL}) && ($ENV{LC_ALL} !~ /^C$/));
+$ENV{LC_CTYPE}="C" if (($ENV{LC_CTYPE}) && ($ENV{LC_CTYPE} !~ /^C$/));
$ENV{LANG}="C";
sub rmtree($) {