diff options
author | Yves Orton <demerphq@gmail.com> | 2022-10-24 09:45:55 +0200 |
---|---|---|
committer | James E Keenan <jkeenan@cpan.org> | 2022-11-06 07:11:53 -0500 |
commit | 36667169c25b9ddadd6e06a4c620730fbe42a294 (patch) | |
tree | 33c871ad2a229d22cb78d3b7db1040349314516b /t/porting | |
parent | 364f70250381868933181f64d322e0936f4e8ba8 (diff) | |
download | perl-36667169c25b9ddadd6e06a4c620730fbe42a294.tar.gz |
allow porting/corelist.t to be run from root
Diffstat (limited to 't/porting')
-rw-r--r-- | t/porting/corelist.t | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/t/porting/corelist.t b/t/porting/corelist.t index 2ae703f6f9..1b3af5c816 100644 --- a/t/porting/corelist.t +++ b/t/porting/corelist.t @@ -1,7 +1,9 @@ #!perl -w # Check that the current version of perl exists in Module-CoreList data - +BEGIN { + push @INC, "." if -e "TestInit.pm"; +} use TestInit qw(T); use strict; use Config; |