Subject: | t/plugins/pkgdist.t and t/plugins/pkgversion.t test failures |
Hello and thank you for Dist::Zilla,
I couldn't find a bug report on this.
perl, v5.8.7 built for x86_64-linux
Dist::Zilla 4.101740 and 4.101780
Test Summary Report
-------------------
t/plugins/pkgdist.t (Wstat: 1024 Tests: 11 Failed: 4)
Failed tests: 1-3, 5
Non-zero exit status: 4
t/plugins/pkgversion.t (Wstat: 1024 Tests: 11 Failed: 4)
Failed tests: 1-3, 5
Non-zero exit status: 4
Files=25, Tests=275, 61 wallclock secs ( 0.16 usr 0.08 sys + 30.29 cusr
6.13 csys = 36.66 CPU)
Result: FAIL
Failed 2/25 test programs. 8/275 subtests failed.
I had to make the following changes to get the tests to pass:
==== Dist-Zilla-4.101780/t/plugins/pkgdist.t#1 - Dist-Zilla-
4.101780/t/plugins/pkgdist.t ====
76c76
< qr{^\s*\$\QDZT::Sample::DIST = 'DZT-Sample';\E$}m,
---
Show quoted text
> qr{^\s*\$\QDZT::Sample::DIST = 'DZT-Sample';\E\s*$}m,
83c83
< qr{^\s*\$\QDZT::TP1::DIST = 'DZT-Sample';\E$}m,
---
Show quoted text> qr{^\s*\$\QDZT::TP1::DIST = 'DZT-Sample';\E\s*$}m,
89c89
< qr{^\s*\$\QDZT::TP2::DIST = 'DZT-Sample';\E$}m,
---
Show quoted text> qr{^\s*\$\QDZT::TP2::DIST = 'DZT-Sample';\E\s*$}m,
103c103
< qr{^\s*\$\QDZT::Script::DIST = 'DZT-Sample';\E$}m,
---
Show quoted text> qr{^\s*\$\QDZT::Script::DIST = 'DZT-Sample';\E\s*$}m,
==== Dist-Zilla-4.101780/t/plugins/pkgversion.t#1 - Dist-Zilla-
4.101780/t/plugins/pkgversion.t ====
76c76
< qr{^\s*\$\QDZT::Sample::VERSION = '0.001';\E$}m,
---
Show quoted text> qr{^\s*\$\QDZT::Sample::VERSION = '0.001';\E\s*$}m,
83c83
< qr{^\s*\$\QDZT::TP1::VERSION = '0.001';\E$}m,
---
Show quoted text> qr{^\s*\$\QDZT::TP1::VERSION = '0.001';\E\s*$}m,
89c89
< qr{^\s*\$\QDZT::TP2::VERSION = '0.001';\E$}m,
---
Show quoted text> qr{^\s*\$\QDZT::TP2::VERSION = '0.001';\E\s*$}m,
103c103
< qr{^\s*\$\QDZT::Script::VERSION = '0.001';\E$}m,
---
Show quoted text> qr{^\s*\$\QDZT::Script::VERSION = '0.001';\E\s*$}m,
Cheers,
Peter (Stig) Edwards