diff options
Diffstat (limited to 'lib/IO/Zlib/t/external.t')
-rw-r--r-- | lib/IO/Zlib/t/external.t | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/IO/Zlib/t/external.t b/lib/IO/Zlib/t/external.t index 1d90d7fe2c..765c54992b 100644 --- a/lib/IO/Zlib/t/external.t +++ b/lib/IO/Zlib/t/external.t @@ -1,3 +1,10 @@ +BEGIN { + if( $ENV{PERL_CORE} ) { + @INC = '../lib'; + chdir 't'; + } +} + # Test this only iff we have an executable /usr/bin/gzip # AND we have /usr/bin in our PATH # AND we have a useable /usr/bin directory. |