Remove IPC::SysV from the list of PERL_CORE=1 testing exceptions.
Nicholas Clark [Sun, 27 Sep 2009 06:59:58 +0000 (07:59 +0100)]
One of its tests was forcibly setting @INC when $ENV{PERL_CORE} is true. That's
not just unnecessary now, it's actively counter-productive, because tests in
@ext are running from their extension's directory, not the core's t directory.

cpan/IPC-SysV/t/ipcsysv.t
t/TEST

index a83c7bb..8c16785 100644 (file)
 ################################################################################
 
 BEGIN {
-  if ($ENV{'PERL_CORE'}) {
-    chdir 't' if -d 't';
-    @INC = '../lib' if -d '../lib' && -d '../ext';
-  }
-
   require Test::More; import Test::More;
   require Config; import Config;
 
diff --git a/t/TEST b/t/TEST
index 0ee0dd2..04355f4 100755 (executable)
--- a/t/TEST
+++ b/t/TEST
@@ -36,7 +36,6 @@ my %temp_no_core =
      '../cpan/Devel-PPPort' => 1,
      '../cpan/Getopt-Long' => 1,
      '../ext/IO-Compress' => 1,
-     '../cpan/IPC-SysV' => 1,
      '../ext/Math-BigInt' => 1,
      '../ext/Math-BigRat' => 1,
      '../ext/MIME-Base64' => 1,