diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2016-10-22 13:55:48 +0200 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2016-11-11 16:27:20 +0100 |
commit | 3d7c117d5246fe5390f3fda7bd31308799d54201 (patch) | |
tree | 25ed91492a78660a701502955918ad1c0a5737bc /TestInit.pm | |
parent | 32db2dd39faf0a339c2c26769b98a1924ca09892 (diff) | |
download | perl-3d7c117d5246fe5390f3fda7bd31308799d54201.tar.gz |
Patch unit tests to explicitly insert "." into @INC when needed.
require calls now require ./ to be prepended to the file since . is no
longer guaranteed to be in @INC.
Diffstat (limited to 'TestInit.pm')
-rw-r--r-- | TestInit.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TestInit.pm b/TestInit.pm index f4ed6fd93d..f9a5e916cc 100644 --- a/TestInit.pm +++ b/TestInit.pm @@ -47,7 +47,7 @@ sub import { } elsif ($_ eq 'T') { $chdir = '..' unless -f 't/TEST' && -f 'MANIFEST' && -d 'lib' && -d 'ext'; - @INC = 'lib'; + @INC = qw/ lib . /; $setopt = 1; } else { die "Unknown option '$_'"; |