Subject: | Fails tests when no "." in @INC (do "t/lib.pl" failed, '.' is no longer in @INC) |
When no '.' is in @INC on 5.25.11+ ( for example, when installing by hand, or with PERL_USE_UNSAFE_INC=0 in env ), tests fail as follows:
PERL_DL_NONLAZY=1 "/home/kent/perl5/perlbrew/perls/5.25.11-nossp-sip13-nopmc-nodot/bin/perl5.25.11" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/010-useability.t ............ ok
do "t/lib.pl" failed, '.' is no longer in @INC at t/021-compfile.t line 12.
Undefined subroutine &main::catfile called at t/021-compfile.t line 14.
Show quoted text
Dubious, test returned 2 (wstat 512, 0x200)
Failed 6/7 subtests
do "t/lib.pl" failed, '.' is no longer in @INC at t/011-prototype.t line 11.
Undefined subroutine &main::catfile called at t/011-prototype.t line 13.
Show quoted text
Dubious, test returned 2 (wstat 512, 0x200)
Failed 8/9 subtests
do "t/lib.pl" failed, '.' is no longer in @INC at t/020-compfile.t line 13.
Undefined subroutine &main::catfile called at t/020-compfile.t line 15.
Show quoted text
Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/5 subtests
do "t/lib.pl" failed, '.' is no longer in @INC at t/024-compfile.t line 12.
Undefined subroutine &main::catfile called at t/024-compfile.t line 14.
Show quoted text
Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/5 subtests
--
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
PERL_DL_NONLAZY=1 "/home/kent/perl5/perlbrew/perls/5.25.11-nossp-sip13-nopmc-nodot/bin/perl5.25.11" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/010-useability.t ............ ok
do "t/lib.pl" failed, '.' is no longer in @INC at t/021-compfile.t line 12.
Undefined subroutine &main::catfile called at t/021-compfile.t line 14.
Show quoted text
# Looks like your test exited with 2 just after 1.
t/021-compfile.t ..............Dubious, test returned 2 (wstat 512, 0x200)
Failed 6/7 subtests
do "t/lib.pl" failed, '.' is no longer in @INC at t/011-prototype.t line 11.
Undefined subroutine &main::catfile called at t/011-prototype.t line 13.
Show quoted text
# Looks like your test exited with 2 just after 1.
t/011-prototype.t .............Dubious, test returned 2 (wstat 512, 0x200)
Failed 8/9 subtests
do "t/lib.pl" failed, '.' is no longer in @INC at t/020-compfile.t line 13.
Undefined subroutine &main::catfile called at t/020-compfile.t line 15.
Show quoted text
# Looks like your test exited with 2 just after 1.
t/020-compfile.t ..............Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/5 subtests
do "t/lib.pl" failed, '.' is no longer in @INC at t/024-compfile.t line 12.
Undefined subroutine &main::catfile called at t/024-compfile.t line 14.
Show quoted text
# Looks like your test exited with 2 just after 1.
t/024-compfile.t ..............Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/5 subtests
--
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )