Subject: | t/Runner/Prove.t not passing |
In SmokeRunner::Multi 0.13, two tests in t/Runner/Prove.t are expecting
different values than they receive. I made two (not necessarily
correct) changes to make the tests pass and continue with distro
installation. Here is the diff:
36c36
< like( $runner->output(), qr/\Q01-a....1..5/,
---
Show quoted text
> like( $runner->output(), qr/\Q01-a..../,
40c40
< like( $runner->output(), qr{\QFailed 1/2 test scripts},
---
Show quoted text> like( $runner->output(), qr{\QTest Summary Report},
$runner->output shows the following:
DB<11> x $runner->output
0 '/tmp/iRErAEL0sL/set1/t/01-a....
1..5
ok 1 - test 1
ok 2 - test 2
ok 3 - test 3
ok 4 - test 4
ok 5 - test 5
ok
/tmp/iRErAEL0sL/set1/t/02-b....
1..5
not ok 1 - test 1
not ok 2 - test 2
not ok 3 - test 3
not ok 4 - test 4
not ok 5 - test 5
# Failed test \'test 1\'
# at /tmp/iRErAEL0sL/set1/t/02-b.t line 6.
# Failed test \'test 2\'
# at /tmp/iRErAEL0sL/set1/t/02-b.t line 6.
# Failed test \'test 3\'
# at /tmp/iRErAEL0sL/set1/t/02-b.t line 6.
# Failed test \'test 4\'
# at /tmp/iRErAEL0sL/set1/t/02-b.t line 6.
# Failed test \'test 5\'
# at /tmp/iRErAEL0sL/set1/t/02-b.t line 6.
# Looks like you failed 5 tests of 5.
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/5 subtests
Test Summary Report
-------------------
/tmp/iRErAEL0sL/set1/t/02-b (Wstat: 1280 Tests: 5 Failed: 5)
Failed tests: 1-5
Non-zero exit status: 5
Files=2, Tests=10, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.04 cusr
0.00 csys = 0.06 CPU)
Result: FAIL
'