From: Nicholas Clark Date: Sun, 30 Aug 2009 13:52:02 +0000 (+0100) Subject: Remove the $ENV{PERL_CORE} boilerplate from Hash::Util's tests. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=30c4898dea6d34ffa9fd41bdf2de9890cc8fc5f9;p=p5sagit%2Fp5-mst-13.2.git Remove the $ENV{PERL_CORE} boilerplate from Hash::Util's tests. --- diff --git a/ext/Hash-Util/t/Util.t b/ext/Hash-Util/t/Util.t index 7a52e8c..a7cd946 100644 --- a/ext/Hash-Util/t/Util.t +++ b/ext/Hash-Util/t/Util.t @@ -2,10 +2,8 @@ BEGIN { if ($ENV{PERL_CORE}) { - chdir 't' if -d 't'; - @INC = '../lib'; require Config; import Config; - keys %Config; # Silence warning + no warnings 'once'; if ($Config{extensions} !~ /\bHash\/Util\b/) { print "1..0 # Skip: Hash::Util was not built\n"; exit 0; diff --git a/t/TEST b/t/TEST index d5007ed..5cbe0e3 100755 --- a/t/TEST +++ b/t/TEST @@ -30,7 +30,6 @@ my %temp_no_core = '../ext/Compress-Raw-Zlib' => 1, '../ext/Devel-PPPort' => 1, '../ext/Encode' => 1, - '../ext/Hash-Util' => 'fixme', '../ext/Hash-Util-FieldHash' => 'fixme', '../ext/I18N-Langinfo' => 'fixme', '../ext/IO-Compress' => 1,