4 if( $ENV{PERL_CORE} ) {
6 @INC = ('../lib', 'lib');
15 use Test::More tests => 1;
23 return $tot->{bad} == 0
24 && ( $tot->{max} || $tot->{skipped} ) ? 1 : 0;
28 local $ENV{PERL_TEST_HARNESS_DUMP_TAP} = 0;
29 local $Test::Harness::Verbose = -9;
31 push @INC, 'examples';
33 tie *NULL, 'Dev::Null' or die $!;
35 my ( $tot, $failed ) = Test::Harness::execute_tests(
38 ? 'lib/sample-tests/inc_taint'
39 : 't/sample-tests/inc_taint'
44 ok( _all_ok($tot), 'tests with taint on preserve @INC' );