diff options
Diffstat (limited to 'lib/ExtUtils/t/MM_OS2.t')
-rw-r--r-- | lib/ExtUtils/t/MM_OS2.t | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/ExtUtils/t/MM_OS2.t b/lib/ExtUtils/t/MM_OS2.t index f80b0fb90f..ad7d4b5562 100644 --- a/lib/ExtUtils/t/MM_OS2.t +++ b/lib/ExtUtils/t/MM_OS2.t @@ -1,11 +1,14 @@ -#!./perl -w +#!/usr/bin/perl -w use strict; BEGIN { - chdir 't' if -d 't'; - @INC = '../lib'; + if( $ENV{PERL_CORE} ) { + chdir 't' if -d 't'; + @INC = '../lib'; + } } +chdir 't'; use Test::More; if ($^O =~ /os2/i) { |