Skip Menu |

This queue is for tickets about the Module-Generate CPAN distribution.

Report information
The Basics
Id: 132898
Status: resolved
Priority: 0/
Queue: Module-Generate

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

Bug Information
Severity: (no value)
Broken in: 0.13
Fixed in: (no value)



Subject: Test suite may fail with non-English locale
With a non-English locale (LC_ALL=de_DE.XXX) (and probably only for perl < 5.22) t/02-cover.t fails: ... # Failed test at t/02-cover.t line 225. # 'Cannot open file for writing Zugriff verweigert at t/02-cover.t line 224. # ' # doesn't match '(?^:Cannot open file for writing Permission denied)' # Looks like you failed 1 test of 2. # Failed test '_make_path' # at t/02-cover.t line 226. ... # Failed test at t/02-cover.t line 306. # 'Cannot open file to write Zugriff verweigert at /home/cpansand/.cpan/build/2020062612/Module-Generate-0.13-qTyZ8d/blib/lib/Module/Generate.pm line 226, <DATA> line 3220. # ' # doesn't match '(?^:Cannot open file to write Permission denied)' # Looks like you failed 1 test of 2. # Failed test 'generate' # at t/02-cover.t line 307. # Looks like you failed 2 tests of 34. t/02-cover.t ...... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/34 subtests ...
On 2020-06-28 09:22:01, SREZIC wrote: Show quoted text
> With a non-English locale (LC_ALL=de_DE.XXX) (and probably only for > perl < 5.22) t/02-cover.t fails: > > ... > # Failed test at t/02-cover.t line 225. > # 'Cannot open file for writing Zugriff > verweigert at t/02-cover.t line 224. > # ' > # doesn't match '(?^:Cannot open file for writing Permission > denied)' > # Looks like you failed 1 test of 2. > > # Failed test '_make_path' > # at t/02-cover.t line 226. > ... > # Failed test at t/02-cover.t line 306. > # 'Cannot open file to write Zugriff verweigert > at /home/cpansand/.cpan/build/2020062612/Module-Generate-0.13- > qTyZ8d/blib/lib/Module/Generate.pm line 226, <DATA> line 3220. > # ' > # doesn't match '(?^:Cannot open file to write Permission > denied)' > # Looks like you failed 1 test of 2. > > # Failed test 'generate' > # at t/02-cover.t line 307. > # Looks like you failed 2 tests of 34. > t/02-cover.t ...... > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/34 subtests > ...
Possibly fixed in 0.14.