This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add test case for [perl #123171]
authorKarl Williamson <khw@cpan.org>
Wed, 7 Jan 2015 04:05:43 +0000 (21:05 -0700)
committerKarl Williamson <khw@cpan.org>
Wed, 7 Jan 2015 04:41:25 +0000 (21:41 -0700)
commitadf06ddfd8b6d9835479092f95ab172a8d5a3a87
tree414826fb42cd1bb0dda0c89256cd24835a922aff
parente32e699abfd8f839274ead076be1d23d7739ccf1
Add test case for [perl #123171]

This looks for a non-English locale to test with, as the bug appears
only in such locales.  The fix to the referenced ticket broke the .t
file in non-English locales, and this commit fixes it.  If no
non-English locale is found, the code runs anyway, using an English one.

Part of the commit came from Slaven Rezic.
ext/POSIX/t/wrappers.t