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).