From 3d7c117d5246fe5390f3fda7bd31308799d54201 Mon Sep 17 00:00:00 2001 From: "H.Merijn Brand" Date: Sat, 22 Oct 2016 13:55:48 +0200 Subject: 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. --- TestInit.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TestInit.pm') 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 '$_'"; -- cgit v1.2.1