summaryrefslogtreecommitdiff
path: root/lib/I18N
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2004-06-27 18:27:43 +0000
committerNicholas Clark <nick@ccl4.org>2004-06-27 18:27:43 +0000
commitd8b6d0f352bde4073cdc4efb9df88467905e4ff6 (patch)
tree6f8b8fc4b591877e72a3f73d9be417e8f6a11f4b /lib/I18N
parent98641f606c65e71cca89f9a694e2796b5a21cbd8 (diff)
downloadperl-d8b6d0f352bde4073cdc4efb9df88467905e4ff6.tar.gz
Stop 80_all_env.t failing when LC_ALL is set
p4raw-id: //depot/perl@23001
Diffstat (limited to 'lib/I18N')
-rw-r--r--lib/I18N/LangTags/t/80_all_env.t6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/I18N/LangTags/t/80_all_env.t b/lib/I18N/LangTags/t/80_all_env.t
index 050c8f2039..288f735fe2 100644
--- a/lib/I18N/LangTags/t/80_all_env.t
+++ b/lib/I18N/LangTags/t/80_all_env.t
@@ -37,8 +37,10 @@ $ENV{'IGNORE_WIN32_LOCALE'} = 1; # a hack, just for testing's sake.
print "# Test LANG...\n";
$ENV{'REQUEST_METHOD'} = '';
-$ENV{'LANG'} = 'Eu_MT';
-$ENV{'LANGUAGE'} = '';
+$ENV{'LANG'} = 'Eu_MT';
+$ENV{'LC_ALL'} = '';
+$ENV{'LANGUAGE'} = '';
+$ENV{'LC_MESSAGES'} = '';
ok show( scalar I18N::LangTags::Detect::detect()), "eu-mt";
ok show( j I18N::LangTags::Detect::detect()), q{["eu-mt"]};