projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
7a382f6
)
Remove core @INC setting and chdir boilerplate from SelfLoader's tests.
Nicholas Clark [Sun, 11 Oct 2009 13:06:22 +0000 (14:06 +0100)]
dist/SelfLoader/t/01SelfLoader.t
patch
|
blob
|
blame
|
history
dist/SelfLoader/t/02SelfLoader-buggy.t
patch
|
blob
|
blame
|
history
diff --git
a/dist/SelfLoader/t/01SelfLoader.t
b/dist/SelfLoader/t/01SelfLoader.t
index
68c1229
..
2471076
100644
(file)
--- 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
7845d05
..
fd565f9
100644
(file)
--- 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";