X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=ext%2FCompress%2FZlib%2Ft%2F15multi.t;h=0b65ef6371610191ea47a6fc3bf73c77b759ecda;hb=9f2e35140733c7b8f4ab179f11bf740ca3d2130e;hp=fbbc64e36a3d1d5951d562dc1ee666fd49773f37;hpb=642e522ca519399524c3fc05cc7ff04ae62b068a;p=p5sagit%2Fp5-mst-13.2.git diff --git a/ext/Compress/Zlib/t/15multi.t b/ext/Compress/Zlib/t/15multi.t index fbbc64e..0b65ef6 100644 --- a/ext/Compress/Zlib/t/15multi.t +++ b/ext/Compress/Zlib/t/15multi.t @@ -1,3 +1,9 @@ +BEGIN { + if ($ENV{PERL_CORE}) { + chdir 't' if -d 't'; + @INC = ("../lib", "lib"); + } +} use lib 't'; use strict; @@ -75,8 +81,7 @@ foreach my $CompressClass ('IO::Compress::Gzip', } - my $name = "test.gz" ; - my $lex = new LexFile $name ; + my $lex = new LexFile my $name ; my $output ; if ($fb eq 'buffer') {