In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/87a470b7b3433f68d0c6e011de6d812ae330ab9e?hp=e8796d6170725d5ff0da29c2e9a96dd0d7456694>
- Log ----------------------------------------------------------------- commit 87a470b7b3433f68d0c6e011de6d812ae330ab9e Author: Nicholas Clark <[email protected]> Date: Wed Jun 30 15:31:45 2010 +0100 Make the change to source_handler.t conditional on $ENV{PERL_CORE}. 175dcccfb62b30fa wrongly added '-I../../lib' unconditionally. ----------------------------------------------------------------------- Summary of changes: cpan/Test-Harness/t/source_handler.t | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cpan/Test-Harness/t/source_handler.t b/cpan/Test-Harness/t/source_handler.t index 1287a9f..b16b9e2 100644 --- a/cpan/Test-Harness/t/source_handler.t +++ b/cpan/Test-Harness/t/source_handler.t @@ -84,7 +84,7 @@ my %file = map { $_ => File::Spec->catfile( $dir, $_ ) } ], make_iterator => [ { name => "valid executable", - raw => [ $perl, '-I../../lib', '-It/lib', '-T', $file{source} ], + raw => [ $perl, ($ENV{PERL_CORE} ? '-I../../lib' : ()), '-It/lib', '-T', $file{source} ], iclass => 'TAP::Parser::Iterator::Process', output => [ '1..1', 'ok 1 - source' ], assemble_meta => 1, -- Perl5 Master Repository
