4 if( $ENV{PERL_CORE} ) {
14 use Test::More tests => 3;
17 # non-core tests will have blib in their path. We remove it
18 # and just use the one in lib/.
19 unless( $ENV{PERL_CORE} ) {
20 @INC = grep !/blib/, @INC;
21 unshift @INC, '../lib';
25 my @blib_paths = grep /blib/, @INC;
26 is( @blib_paths, 0, 'No blib dirs yet in @INC' );
28 use_ok( 'ExtUtils::testlib' );
30 @blib_paths = grep { /blib/ } @INC;
31 is( @blib_paths, 2, 'ExtUtils::testlib added two @INC dirs!' );