summaryrefslogtreecommitdiff
path: root/lib/locale.t
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-10-15 23:37:41 +0100
committerNicholas Clark <nick@ccl4.org>2009-10-15 23:37:41 +0100
commita44d0896a6c4bfe01ea532694b8c1c073ea6a2f1 (patch)
treef9f77f41084b63f48545335a3ca95e766beea0e1 /lib/locale.t
parentd3d348849d1e04f91e458937b2aba39c00de63af (diff)
downloadperl-a44d0896a6c4bfe01ea532694b8c1c073ea6a2f1.tar.gz
Skip testing the be_BY.CP1131 locale on Darwin 10, as it's still buggy.
Correct infelicities in the regexp used to identify buggy locales on Darwin 8 and 9.
Diffstat (limited to 'lib/locale.t')
-rw-r--r--lib/locale.t7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/locale.t b/lib/locale.t
index aa8aa07ce2..64d71c33ce 100644
--- a/lib/locale.t
+++ b/lib/locale.t
@@ -459,8 +459,11 @@ if ($^O eq 'darwin') {
(my $v) = $Config{osvers} =~ /^(\d+)/;
if ($v >= 8 and $v < 10) {
debug "# Skipping eu_ES, be_BY locales -- buggy in Darwin\n";
- @Locale = grep ! m/^(eu_ES|be_BY.CP1131$)/, @Locale;
- }
+ @Locale = grep ! m/^(eu_ES|be_BY\.CP1131)$/, @Locale;
+ } elsif ($v < 11) {
+ debug "# Skipping be_BY locales -- buggy in Darwin\n";
+ @Locale = grep ! m/^be_BY\.CP1131$/, @Locale;
+ }
}
@Locale = sort @Locale;