diff options
Diffstat (limited to 't/win32')
-rw-r--r-- | t/win32/system.t | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/t/win32/system.t b/t/win32/system.t index b1906ce73a..fb7a1d1429 100644 --- a/t/win32/system.t +++ b/t/win32/system.t @@ -2,7 +2,9 @@ BEGIN { chdir 't' if -d 't'; - @INC = '../lib'; + # We need '../../lib' as well as '../lib' because parts of Config are + # delay-loaded, after we've chdir()'ed into $testdir. + @INC = ('../lib', '../../lib'); # XXX this could be further munged to enable some parts on other # platforms unless ($^O =~ /^MSWin/) { |