Skip Menu |

This queue is for tickets about the Catalyst-ActionRole-ACL CPAN distribution.

Report information
The Basics
Id: 67863
Status: resolved
Priority: 0/
Queue: Catalyst-ActionRole-ACL

People
Owner: bobtfish [...] bobtfish.net
Requestors: KENTNL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.05
Fixed in: (no value)



Subject: Many test failures with Catalyst::Runtime 5.89* TRIAL series.
Many tests complain about uninitialized values in numeric == , before failing.

http://www.cpantesters.org/cpan/report/e0f14862-68a6-11e0-ab06-f26bc0b02281
http://www.cpantesters.org/cpan/report/c03429b2-63d0-11e0-8cba-2f41915d4a9a
http://www.cpantesters.org/cpan/report/1e978cb6-6196-11e0-9c07-c23479f41c0c

t/00-load.t ..............
1..2
ok 1 - use Catalyst::ActionRole::ACL;
ok 2 - use Catalyst::Action::Role::ACL;
ok
t/02-action-class.t ......
1..21
ok 1 - use TestApp;
Use of uninitialized value in numeric eq (==) at t/02-action-class.t line 31.
not ok 2 - fetch /edit 200 OK

Show quoted text
#   Failed test 'fetch /edit 200 OK'
#   at t/02-action-class.t line 31.
ok 3 - content correct
Use of uninitialized value in numeric eq (==) at t/02-action-class.t line 36.
not ok 4 - fetch /killit 403 Forbidden

Show quoted text
#   Failed test 'fetch /killit 403 Forbidden'
#   at t/02-action-class.t line 36.
ok 5 - content correct
Use of uninitialized value in numeric eq (==) at t/02-action-class.t line 41.
not ok 6 - fetch /crews 403 Forbidden

Show quoted text
#   Failed test 'fetch /crews 403 Forbidden'
#   at t/02-action-class.t line 41.
ok 7 - content correct
Use of uninitialized value in numeric eq (==) at t/02-action-class.t line 49.
not ok 8 - fetch /crews?someparm=42 200 OK

Show quoted text
#   Failed test 'fetch /crews?someparm=42 200 OK'
#   at t/02-action-class.t line 49.
ok 9 - content correct
Use of uninitialized value in numeric eq (==) at t/02-action-class.t line 55.
not ok 10 - fetch /reese 403 Forbidden

Show quoted text
#   Failed test 'fetch /reese 403 Forbidden'
#   at t/02-action-class.t line 55.
ok 11 - content correct
Use of uninitialized value in numeric eq (==) at t/02-action-class.t line 61.
not ok 12 - fetch /reese 200 OK

Show quoted text
#   Failed test 'fetch /reese 200 OK'
#   at t/02-action-class.t line 61.
ok 13 - content correct
Use of uninitialized value in numeric eq (==) at t/02-action-class.t line 66.
not ok 14 - fetch /reese 200 OK

Show quoted text
#   Failed test 'fetch /reese 200 OK'
#   at t/02-action-class.t line 66.
ok 15 - content correct
Use of uninitialized value in numeric eq (==) at t/02-action-class.t line 73.
not ok 16 - fetch /wolverines?attacker=spetznatz 403 Forbidden

Show quoted text
#   Failed test 'fetch /wolverines?attacker=spetznatz 403 Forbidden'
#   at t/02-action-class.t line 73.
ok 17 - content correct
Use of uninitialized value in numeric eq (==) at t/02-action-class.t line 78.
not ok 18 - fetch /wolverines?attacker=spetznatz 403 Forbidden

Show quoted text
#   Failed test 'fetch /wolverines?attacker=spetznatz 403 Forbidden'
#   at t/02-action-class.t line 78.
ok 19 - content correct
Use of uninitialized value in numeric eq (==) at t/02-action-class.t line 83.
not ok 20 - fetch /wolverines?attacker=spetznatz 200 OK

Show quoted text
#   Failed test 'fetch /wolverines?attacker=spetznatz 200 OK'
#   at t/02-action-class.t line 83.
ok 21 - content correct
Show quoted text
# Looks like you failed 10 tests of 21.
Dubious, test returned 10 (wstat 2560, 0xa00)
Failed 10/21 subtests
t/03-can_visit.t .........
1..5
ok 1 - use TestCanVisit;
ok 2 - user cannot visit 'edit'
ok 3 - user can visit 'edit'
ok 4 - user cannot visit 'read'
ok 5 - user can visit 'read'
ok
t/04-chained.t ...........
1..7
ok 1 - use TestChained;
[error] No default action defined
Use of uninitialized value in numeric eq (==) at t/04-chained.t line 38.
not ok 2 - fetch /stage1/stage2/edit 403 Forbidden

Show quoted text
#   Failed test 'fetch /stage1/stage2/edit 403 Forbidden'
#   at t/04-chained.t line 38.
ok 3 - content correct
Use of uninitialized value in numeric eq (==) at t/04-chained.t line 43.
not ok 4 - fetch /stage1/stage2/edit 403 Forbidden

Show quoted text
#   Failed test 'fetch /stage1/stage2/edit 403 Forbidden'
#   at t/04-chained.t line 43.
ok 5 - content correct
Use of uninitialized value in numeric eq (==) at t/04-chained.t line 48.
not ok 6 - fetch /stage1/stage2/edit 200 OK

Show quoted text
#   Failed test 'fetch /stage1/stage2/edit 200 OK'
#   at t/04-chained.t line 48.
ok 7 - content correct: -stage1-stage2-edit
Show quoted text
# Looks like you failed 3 tests of 7.
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/7 subtests
t/author/pod-coverage.t ..
1..2
ok 1 - Pod coverage on Catalyst::ActionRole::ACL
ok 2 - Pod coverage on Catalyst::Action::Role::ACL
ok
t/author/pod.t ...........
1..2
ok 1 - POD test for blib/lib/Catalyst/ActionRole/ACL.pm
ok 2 - POD test for blib/lib/Catalyst/Action/Role/ACL.pm
ok

Test Summary Report
-------------------
t/02-action-class.t    (Wstat: 2560 Tests: 21 Failed: 10)
  Failed tests:  2, 4, 6, 8, 10, 12, 14, 16, 18, 20
  Non-zero exit status: 10
t/04-chained.t         (Wstat: 768 Tests: 7 Failed: 3)
  Failed tests:  2, 4, 6
  Non-zero exit status: 3
Files=6, Tests=39,  4 wallclock secs ( 0.06 usr  0.01 sys +  3.58 cusr  0.23 csys =  3.88 CPU)
Result: FAIL

This is now fixed in the latest version. Thanks for the bug report!