diff options
author | Nicholas Clark <nick@ccl4.org> | 2004-06-27 18:27:43 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2004-06-27 18:27:43 +0000 |
commit | d8b6d0f352bde4073cdc4efb9df88467905e4ff6 (patch) | |
tree | 6f8b8fc4b591877e72a3f73d9be417e8f6a11f4b /lib/I18N | |
parent | 98641f606c65e71cca89f9a694e2796b5a21cbd8 (diff) | |
download | perl-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.t | 6 |
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"]}; |