| Server IP : 164.138.27.172 / Your IP : 216.73.216.143 Web Server : nginx/1.27.4 System : Linux cookingdream 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : www-adm ( 1001) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /home/jonasn/.cpan/build/ExtUtils-MakeMaker-7.64-0/t/ |
Upload File : |
#!/usr/bin/perl -Tw
BEGIN {
# ./lib is there so t/lib can be seen even after we chdir.
unshift @INC, 't/lib', './lib';
}
chdir 't';
use strict;
use warnings;
use Test::More tests => 5;
BEGIN {
# non-core tests will have blib in their path. We remove it
# and just use the one in lib/.
unless( $ENV{PERL_CORE} ) {
@INC = grep !/blib/, @INC;
unshift @INC, '../lib';
}
}
my @blib_paths = grep /blib/, @INC;
is( @blib_paths, 0, 'No blib dirs yet in @INC' );
use_ok( 'ExtUtils::testlib' );
@blib_paths = grep { /blib/ } @INC;
is( @blib_paths, 2, 'ExtUtils::testlib added two @INC dirs!' );
ok( !(grep !File::Spec->file_name_is_absolute($_), @blib_paths),
' and theyre absolute');
eval { eval "# @INC"; };
is( $@, '', '@INC is not tainted' );