Adapt properly More.t to run in the core
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 15 Apr 2008 13:53:27 +0000 (13:53 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 15 Apr 2008 13:53:27 +0000 (13:53 +0000)
(like Module::Build does, for example)

p4raw-id: //depot/perl@33689

lib/Test/Simple/t/More.t

index b4bac92..eabd0fa 100644 (file)
@@ -3,7 +3,7 @@
 BEGIN {
     if( $ENV{PERL_CORE} ) {
         chdir 't';
-        @INC = '../lib';
+        @INC = qw(../lib ../lib/Test/Simple/t/lib);
     }
 }