In perl.git, the branch blead has been updated <https://perl5.git.perl.org/perl.git/commitdiff/524a2f33c8dc2fae028dee5691dc076b8c47238b?hp=8f6fa66c6967f115eb142d5129b520af535fbf83>
- Log ----------------------------------------------------------------- commit 524a2f33c8dc2fae028dee5691dc076b8c47238b Author: Slaven Rezic <sre...@cpan.org> Date: Thu Sep 13 13:29:27 2018 +0200 more places where -I. for -MTestInit is needed ----------------------------------------------------------------------- Summary of changes: INSTALL | 4 ++-- TestInit.pm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/INSTALL b/INSTALL index 77f8f2b8d4..a2f6a9d66a 100644 --- a/INSTALL +++ b/INSTALL @@ -2032,7 +2032,7 @@ will run all tests. If individual tests fail, you can often run them by hand (from the main perl directory), e.g., - ./perl -MTestInit t/op/groups.t + ./perl -I. -MTestInit t/op/groups.t You should also read the individual tests to see if there are any helpful comments that apply to your system. You may also need to setup your @@ -2099,7 +2099,7 @@ test 85 will fail if run under either t/TEST or t/harness. Try stopping other jobs on the system and then running the test by itself: - ./perl -MTestInit t/op/pat.t + ./perl -I. -MTestInit t/op/pat.t to see if you have any better luck. If your perl still fails this test, it does not necessarily mean you have a broken perl. This test diff --git a/TestInit.pm b/TestInit.pm index bded831e08..bab5aea512 100644 --- a/TestInit.pm +++ b/TestInit.pm @@ -10,7 +10,7 @@ # modules from an installed Perl. # # t/TEST and t/harness will invoke each test script with -# perl -MTestInit[=arg,arg,..] some/test.t +# perl -I. -MTestInit[=arg,arg,..] some/test.t # You may "use TestInit" in the test # programs but it is not required. # # TestInit will completely empty the current @INC and replace it with -- Perl5 Master Repository