Skip Menu |

This queue is for tickets about the Progressive-Web-Application CPAN distribution.

Report information
The Basics
Id: 130265
Status: new
Priority: 0/
Queue: Progressive-Web-Application

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.05
  • 0.06
Fixed in: (no value)



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
On 2019-08-06 13:33:29, SREZIC wrote: Show quoted text
> 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
Correction: probably happens only for perl < 5.22.0.