diff options
Diffstat (limited to 'lib/SelfLoader')
-rwxr-xr-x | lib/SelfLoader/t/01SelfLoader.t | 6 | ||||
-rw-r--r-- | lib/SelfLoader/t/02SelfLoader-buggy.t | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/lib/SelfLoader/t/01SelfLoader.t b/lib/SelfLoader/t/01SelfLoader.t index feadd3d1dc..99ba997619 100755 --- a/lib/SelfLoader/t/01SelfLoader.t +++ b/lib/SelfLoader/t/01SelfLoader.t @@ -1,5 +1,3 @@ -#!./perl - BEGIN { chdir 't' if -d 't'; $dir = "self-$$"; @@ -10,8 +8,8 @@ BEGIN { $sep = ":"; } - @INC = $dir; - push @INC, '../lib'; + unshift @INC, $dir; + unshift @INC, '../lib'; print "1..20\n"; diff --git a/lib/SelfLoader/t/02SelfLoader-buggy.t b/lib/SelfLoader/t/02SelfLoader-buggy.t index 02da93cee4..7845d05228 100644 --- a/lib/SelfLoader/t/02SelfLoader-buggy.t +++ b/lib/SelfLoader/t/02SelfLoader-buggy.t @@ -1,5 +1,3 @@ -#!./perl - BEGIN { if( $ENV{PERL_CORE} ) { chdir 't' if -d 't'; |