X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FShell.t;h=51f54a1bf8565f6c10bb4dc8d40a009514a2dc6f;hb=9b5be9b5aa498a302ab752a0d1cdb335a620ede2;hp=106cd2a51d6098d877a742c472ed724099137736;hpb=670c206d1fe305b38dfbb1e20e5c966dc1f8e9e6;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/Shell.t b/lib/Shell.t index 106cd2a..51f54a1 100644 --- a/lib/Shell.t +++ b/lib/Shell.t @@ -1,8 +1,10 @@ #!./perl BEGIN { - chdir 't' if -d 't'; - @INC = '../lib'; + if( $ENV{PERL_CORE} ) { + chdir 't' if -d 't'; + @INC = '../lib'; + } } use Test::More tests => 7;