diff options
Diffstat (limited to 'ext/DB_File/t/db-hash.t')
-rw-r--r-- | ext/DB_File/t/db-hash.t | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/ext/DB_File/t/db-hash.t b/ext/DB_File/t/db-hash.t index 889bbe91ff..4168362531 100644 --- a/ext/DB_File/t/db-hash.t +++ b/ext/DB_File/t/db-hash.t @@ -1,18 +1,11 @@ #!./perl - -BEGIN { - unless(grep /blib/, @INC) { - chdir 't' if -d 't'; - @INC = '../lib' if -d '../lib'; - } -} use warnings; use strict; use Config; BEGIN { - if(-d "lib" && -f "TEST") { + if($ENV{PERL_CORE}) { if ($Config{'extensions'} !~ /\bDB_File\b/ ) { print "1..0 # Skip: DB_File was not built\n"; exit 0; |