Skip to content

Commit

Permalink
Fix for perls without . in @inc
Browse files Browse the repository at this point in the history
Fixes #8.
  • Loading branch information
xdg committed Apr 16, 2017
1 parent 66d27de commit eaf1960
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ Revision history for Test-DiagINC

{{$NEXT}}

[FIXED]

- Fixed tests for perls without '.' in @INC

0.006 2016-09-23 20:39:00-04:00 America/New_York

- No changes from 0.005.
Expand Down
5 changes: 3 additions & 2 deletions examples/dies.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ use strict;
use warnings;
use if $ENV{AUTOMATED_TESTING}, 'Test::DiagINC';
use ExtUtils::MakeMaker;
use examples::lib::Foo;
eval { require examples::lib::SyntaxErr };
use lib 'examples/lib';
use Foo;
eval { require SyntaxErr };

chdir ".." or die "$!"; # try to mess up relative entry in %INC

Expand Down
2 changes: 1 addition & 1 deletion t/leanload.t
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ BEGIN {
@::initial_INC = keys %INC;

unless ( $] < 5.008 ) {
@::B_inc = split /\0/, `$^X -Mt::lib::B_laced_INC_dump`;
@::B_inc = split /\0/, `$^X t/lib/B_laced_INC_dump.pl`;
}
}

Expand Down
File renamed without changes.

0 comments on commit eaf1960

Please sign in to comment.