From: Nicholas Clark Date: Thu, 15 Oct 2009 22:37:41 +0000 (+0100) Subject: Skip testing the be_BY.CP1131 locale on Darwin 10, as it's still buggy. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a44d0896a6c4bfe01ea532694b8c1c073ea6a2f1;p=p5sagit%2Fp5-mst-13.2.git 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. --- diff --git a/lib/locale.t b/lib/locale.t index aa8aa07..64d71c3 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;