This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
APItest/t/locale.t: Fix to not show failures on OpenBsd
authorKarl Williamson <khw@cpan.org>
Sun, 17 Sep 2017 03:59:20 +0000 (21:59 -0600)
committerKarl Williamson <khw@cpan.org>
Mon, 18 Sep 2017 15:08:40 +0000 (09:08 -0600)
commit570a6dbb8c57e331a0496105a6acdc1f06e03496
tree1e9526c766922f390697bb1c3cae691412571cfa
parent4369267db9ca4982c1a9bd1ef680bc4350decc3a
APItest/t/locale.t: Fix to not show failures on OpenBsd

It turns out that this OS does not implement all of POSIX 2008, and so
certain tests were failing.  This moves the eval earlier and makes sure
it succeeds before calling the API function
ext/XS-APItest/t/locale.t