summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-02-23 11:02:40 -0700
committerKarl Williamson <khw@cpan.org>2018-02-24 22:08:41 -0700
commit82b1f6184ce0d08c1729e0b85f5109f539566be2 (patch)
tree39048b00df6f70a59fab9d406fa93b8cf98f8866 /t
parentce181bf6a62a81a3e78bd338f9e839b61964794c (diff)
downloadperl-82b1f6184ce0d08c1729e0b85f5109f539566be2.tar.gz
t/loc_tools.pl: 8859-16 is legit; 8859-0 isn't
This adjusts the loop boundaries looking for come common locale names. It was failing to look for 8859-16; instead looking for latin0, 8859-0, which don't exist
Diffstat (limited to 't')
-rw-r--r--t/loc_tools.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/loc_tools.pl b/t/loc_tools.pl
index 49bcc70596..db0bface64 100644
--- a/t/loc_tools.pl
+++ b/t/loc_tools.pl
@@ -307,7 +307,7 @@ sub find_locales ($;$) {
my @Locale;
_trylocale("C", $categories, \@Locale, $allow_incompatible);
_trylocale("POSIX", $categories, \@Locale, $allow_incompatible);
- foreach (0..15) {
+ foreach (1..16) {
_trylocale("ISO8859-$_", $categories, \@Locale, $allow_incompatible);
_trylocale("iso8859$_", $categories, \@Locale, $allow_incompatible);
_trylocale("iso8859-$_", $categories, \@Locale, $allow_incompatible);