summaryrefslogtreecommitdiff
path: root/dist/SelfLoader
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-10-11 14:06:22 +0100
committerNicholas Clark <nick@ccl4.org>2009-10-11 14:06:22 +0100
commit6af60d5fdae744e61d3a0d95ecbaf1c098867f14 (patch)
tree2f33a5463227c1ff7e0dd645fb1073abd5fc515e /dist/SelfLoader
parent7a382f6efaecaa2a4f1b8ce56e7e2af5841bb366 (diff)
downloadperl-6af60d5fdae744e61d3a0d95ecbaf1c098867f14.tar.gz
Remove core @INC setting and chdir boilerplate from SelfLoader's tests.
Diffstat (limited to 'dist/SelfLoader')
-rw-r--r--dist/SelfLoader/t/01SelfLoader.t2
-rw-r--r--dist/SelfLoader/t/02SelfLoader-buggy.t7
2 files changed, 0 insertions, 9 deletions
diff --git a/dist/SelfLoader/t/01SelfLoader.t b/dist/SelfLoader/t/01SelfLoader.t
index 68c12296d9..247107664f 100644
--- a/dist/SelfLoader/t/01SelfLoader.t
+++ b/dist/SelfLoader/t/01SelfLoader.t
@@ -1,5 +1,4 @@
BEGIN {
- chdir 't' if -d 't';
$dir = "self-$$";
$sep = "/";
@@ -9,7 +8,6 @@ BEGIN {
}
unshift @INC, $dir;
- unshift @INC, '../lib';
print "1..20\n";
diff --git a/dist/SelfLoader/t/02SelfLoader-buggy.t b/dist/SelfLoader/t/02SelfLoader-buggy.t
index 7845d05228..fd565f99c0 100644
--- a/dist/SelfLoader/t/02SelfLoader-buggy.t
+++ b/dist/SelfLoader/t/02SelfLoader-buggy.t
@@ -1,10 +1,3 @@
-BEGIN {
- if( $ENV{PERL_CORE} ) {
- chdir 't' if -d 't';
- @INC = '../lib';
- }
-}
-
use SelfLoader;
print "1..1\n";