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