Subject: | t/live_app.t fails with Catalyst-Runtime >= 5.90008 |
Hi,
as reported in <http://bugs.debian.org/665222>, t/live_app.t is failing
with recent versions (>= 5.90008) of Catalyst-Runtime.
Bisecting says
9c4288eaedee0bba8e4a123b4664bc07a4b5c24c is the first bad commit
commit 9c4288eaedee0bba8e4a123b4664bc07a4b5c24c
Author: Tomas Doran <bobtfish@bobtfish.net>
Date: Mon Oct 31 18:32:25 2011 +0000
Move write and finalize_headers into response object
The commit can be seen at
http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits/Catalyst-Runtime.git;a=commit;h=9c4288eaedee0bba8e4a123b4664bc07a4b5c24c
This isn't showing up on CPAN Testers because all the recent reports say
t/live_app.t ....... skipped: This test requires
Test::WWW::Mechanize::Catalyst in order to run
Relevant test output with that module installed:
t/live_app.t ....... 1/?
# Failed test 'session data restored'
# at t/live_app.t line 31.
# searched: "Hi! hit number 1"
# can't find: "hit number 2"
# LCSS: "hit number "
# LCSS context: "Hi! hit number 1"
# Failed test 'session data restored'
# at t/live_app.t line 34.
# searched: "hit number 2"
# can't find: "hit number 3"
# LCSS: "hit number "
# LCSS context: "hit number 2"
t/live_app.t ....... 7/?
# Failed test 'session data restored'
# at t/live_app.t line 39.
# searched: "hit number 3"
# can't find: "hit number 4"
# LCSS: "hit number "
# LCSS context: "hit number 3"
Use of uninitialized value $got in numeric lt (<) at (eval in cmp_ok)
t/live_app.t line 43.
# Failed test 'session data restored (blah)'
# at t/live_app.t line 47.
# searched: "Hi! hit number 4"
# can't find: "hit number 5"
# LCSS: "hit number "
# LCSS context: "Hi! hit number 4"
t/live_app.t ....... 12/?
# Failed test 'session data restored'
# at t/live_app.t line 52.
# searched: "hit number 5"
# can't find: "hit number 6"
# LCSS: "hit number "
# LCSS context: "hit number 5"
# Looks like you failed 5 tests of 22.
t/live_app.t ....... Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/22 subtests
t/no_new_method.t .. ok
Test Summary Report
-------------------
t/live_app.t (Wstat: 1280 Tests: 22 Failed: 5)
Failed tests: 4, 6, 8, 11, 13
Non-zero exit status: 5
Files=6, Tests=37, 4 wallclock secs ( 0.03 usr 0.01 sys + 1.75 cusr
0.08 csys = 1.87 CPU)
Result: FAIL
Failed 1/6 test programs. 5/37 subtests failed.
Thanks for your work,
--
Niko Tyni (Debian Perl Group)
ntyni@debian.org