This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PATCH:[perl #12202] locale fails on OS X
authorKarl Williamson <khw@cpan.org>
Tue, 17 Jun 2014 18:26:05 +0000 (12:26 -0600)
committerKarl Williamson <khw@cpan.org>
Wed, 18 Jun 2014 02:21:39 +0000 (20:21 -0600)
It turns out that the bug is in OS X for this Chinese Big5 locale.  So
this patch just makes the failing test one that we don't fail the whole
.t for unless too many locales fail.

lib/locale.t

index dca74bd..13fc574 100644 (file)
@@ -1984,6 +1984,8 @@ foreach my $Locale (@Locale) {
 
     report_result($Locale, ++$locales_test_number, $ok20);
     $test_names{$locales_test_number} = 'Verify that strftime returns date with UTF-8 flag appropriately set';
+    $problematical_tests{$locales_test_number} = 1;   # This is broken in
+                                                      # OS X 10.9.3
 
     report_result($Locale, ++$locales_test_number, $ok21);
     $test_names{$locales_test_number} = '"$!" is ASCII only outside of locale scope';