Subject: | Fails tests with " Can't call method "set_passwd" on an undefined value " since Perl 5.22 |
Cause of this error is not obvious, other than "because 5.22" http://matrix.cpantesters.org/?dist=HTTPD-User-Manage+1.66
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01realms.t .. Failed 1/22 subtests
t/02text.t .... Can't call method "set_passwd" on an undefined value at t/02text.t line 22.
t/02text.t .... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 16/16 subtests
t/03dbm.t ..... Can't call method "set_passwd" on an undefined value at t/03dbm.t line 31.
t/03dbm.t ..... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 14/14 subtests
t/04db.t ...... Use of uninitialized value $msg in concatenation (.) or string at t/04db.t line 17.
Can't call method "set_passwd" on an undefined value at t/04db.t line 29.
t/04db.t ...... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 14/14 subtests
Test Summary Report
-------------------
t/01realms.t (Wstat: 0 Tests: 22 Failed: 1)
Failed test: 10
t/02text.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 16 tests but ran 1.
t/03dbm.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 14 tests but ran 1.
t/04db.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 14 tests but ran 1.
Files=4, Tests=25, 1 wallclock secs ( 0.05 usr 0.01 sys + 0.14 cusr 0.04 csys = 0.24 CPU)
Result: FAIL
Failed 4/4 test programs. 4/25 subtests failed.
--
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )