summaryrefslogtreecommitdiff
path: root/lib/IO/Zlib/t/import.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/IO/Zlib/t/import.t')
-rw-r--r--lib/IO/Zlib/t/import.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/IO/Zlib/t/import.t b/lib/IO/Zlib/t/import.t
index 336d80a943..3cbaa614d8 100644
--- a/lib/IO/Zlib/t/import.t
+++ b/lib/IO/Zlib/t/import.t
@@ -1,3 +1,10 @@
+BEGIN {
+ if( $ENV{PERL_CORE} ) {
+ @INC = '../lib';
+ chdir 't';
+ }
+}
+
print "1..1\n";
sub ok