Subject: | t/03-error-handling.t may fail with non-English locales (0.26) |
On some of my smokers with a German locale the test suite fails:
...
# Failed test 'Non-existent XML file'
# at t/03-error-handling.t line 22.
# 'Couldn't open no-such-file.xml:
# Datei oder Verzeichnis nicht gefunden at t/03-error-handling.t line 34.
# at t/03-error-handling.t line 34.
#
# '
# doesn't match '(?^:Couldn't open no-such-file.xml:\s+No such file or directory)'
# Looks like you failed 1 test of 11.
t/03-error-handling.t .......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/11 subtests
...
It looks like this happens only for perl < 5.22 --- I think that later perls use localized error messages only if "use locale" is explicitly specified.