loc_tools.pl: properly load fallback locales
authorTomasz Konojacki <me@xenu.pl>
Wed, 10 Jan 2018 03:49:08 +0000 (04:49 +0100)
committerKarl Williamson <khw@cpan.org>
Wed, 10 Jan 2018 17:28:54 +0000 (10:28 -0700)
commit9969000e1134387c0ed173e5d1b3f3b760a1d00c
tree225f091e84d200a99c561500654d7adf65184d63
parent90a59ee553fbce0cfcef9ae57ed0705fe279de0a
loc_tools.pl: properly load fallback locales

It turns out that some tests using loc_tools.pl are being executed
from a different working directory than './t', which causes
do("./lib/locale/<locale>") to fail.

This fixes lib/warnings.t on Windows.

Discussion:
https://www.nntp.perl.org/group/perl.perl5.porters/2018/01/msg248652.html
t/loc_tools.pl