Subject: | t/01-tools.t may fail with non-English locale |
On some of my smokers t/01-tools.t fails:
...
# Failed test 'Cannot open file for writing No such file or directory'
# at t/01-tools.t line 49.
# '
# Cannot open file for writing Datei oder Verzeichnis nicht gefunden
# at t/01-tools.t line 48.
# '
# doesn't match '(?^:Cannot open file for writing No such file or directory)'
# Looks like you failed 1 test of 3.
# Failed test 'write_file'
# at t/01-tools.t line 50.
# Failed test 'Cannot open file for reading No such file or directory'
# at t/01-tools.t line 58.
# '
# Cannot open file for reading Datei oder Verzeichnis nicht gefunden
# at t/01-tools.t line 57.
# '
# doesn't match '(?^:Cannot open file for reading No such file or directory)'
# Looks like you failed 1 test of 3.
# Failed test 'read_file'
# at t/01-tools.t line 59.
# Looks like you failed 2 tests of 15.
t/01-tools.t ..................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/15 subtests
...
This seems to happen if a German locale is active (for example LC_ALL=de_DE.UTF-8), and perl is older than 5.24.0