Skip Menu |

This queue is for tickets about the Dist-Zilla-Plugin-Templates CPAN distribution.

Report information
The Basics
Id: 107250
Status: resolved
Priority: 0/
Queue: Dist-Zilla-Plugin-Templates

People
Owner: VDB [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: v0.5.0
Fixed in: v0.5.1



Subject: Test suite may fail with non-English locale
When running the tests under a non-English (e.g. German) locale, then there are failures like this: # Failed test 'messages' # at /usr/perl5.16.3t/lib/site_perl/5.16.3/Test/Dist/Zilla/Build.pm line 183. # Using Regexp on $data->[0] # got : 'Error open (<:unix) on 'include.pod': Datei oder Verzeichnis nicht gefunden at /usr/perl5.16.3t/lib/site_perl/5.16.3/Dist/Zilla/File/OnDisk.pm line 34.' # expect : (?^:^Error open .* on 'include.pod': No such file or directory at ) # Looks like you failed 1 test of 2. Note that this is happening only for perl < 5.22.0, probably because of changed errno handling wrt locales. Probably you want to adjust the regexp or make sure that the tests run in an English locale (e.g. setting LC_ALL and LANG environment variables).
Thanks for reporting. It should be fixed in v0.5.1.
Please confirm to let me close the bug (by moving the record to "resolved" status).
On 2015-09-24 03:24:05, VDB wrote: Show quoted text
> Please confirm to let me close the bug (by moving the record to > "resolved" status).
Yes, it is fixed. No fail reports caused by a non-English locale anymore: http://matrix.cpantesters.org/?dist=Dist-Zilla-Plugin-Templates+v0.5.1