CC: | ANDK [...] cpan.org |
Subject: | Test failures with non-English locale and perl 5.27.2 |
With a German locale (LC_ALL=de_DE.UTF-8) and perl 5.27.2 I see the following failures:
...
# Failed test at t/bad_dir.t line 20.
# 'can't open shared hash /var/tmp/cpansmoker-1023/2017081121/qS_PqUtiuG/t0: Datei oder Verzeichnis nicht gefunden at t/bad_dir.t line 19.
# '
# doesn't match '(?^:\Acan't open shared hash \/var\/tmp\/cpansmoker\-1023\/2017081121\/qS_PqUtiuG/t0: No\ such\ file\ or\ directory at )'
# Looks like you failed 1 test of 7.
t/bad_dir.t ........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/7 subtests
# Failed test at t/bad_master.t line 58.
# 'can't open shared hash /var/tmp/cpansmoker-1023/2017081121/LjUAs9Tob4/t0: Ist ein Verzeichnis at t/bad_master.t line 57.
# '
# doesn't match '(?^x:\Acan't\ open\ shared\ hash\ \/var\/tmp\/cpansmoker\-1023\/2017081121\/LjUAs9Tob4/t0:
# \ (?:Is\ a\ directory|not\ a\ shared\ hash)\ at\ )'
# Failed test at t/bad_master.t line 61.
# 'can't open shared hash /var/tmp/cpansmoker-1023/2017081121/LjUAs9Tob4/t0: Ist ein Verzeichnis at t/bad_master.t line 60.
# '
# doesn't match '(?^x:\Acan't\ open\ shared\ hash\ \/var\/tmp\/cpansmoker\-1023\/2017081121\/LjUAs9Tob4/t0:
# \ (?:Is\ a\ directory|not\ a\ shared\ hash)\ at\ )'
# Looks like you failed 2 tests of 28.
t/bad_master.t .....
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/28 subtests
... (etc.) ...
This does not happen with an English locale, or perl 5.27.1 or earlier. Quickly scanning through perldelta I don't see an entry which would explain the change of behavior.
@Andreas: a bisect candidate?