summaryrefslogtreecommitdiff
path: root/t/TestInit.pm
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2007-11-04 16:41:28 +0000
committerCraig A. Berry <craigberry@mac.com>2007-11-04 16:41:28 +0000
commit3eed716c43f574e5bb463b7e5770573ac4383150 (patch)
treed2ead97224d847172fe414608570c569ed6fcf28 /t/TestInit.pm
parent5879cbe1053352a3e452f61cecfdf074d36680f5 (diff)
downloadperl-3eed716c43f574e5bb463b7e5770573ac4383150.tar.gz
Roll back #32214 as it causes more failures than it prevents.
p4raw-id: //depot/perl@32219
Diffstat (limited to 't/TestInit.pm')
-rw-r--r--t/TestInit.pm8
1 files changed, 1 insertions, 7 deletions
diff --git a/t/TestInit.pm b/t/TestInit.pm
index 058ad29292..aa76fe194b 100644
--- a/t/TestInit.pm
+++ b/t/TestInit.pm
@@ -18,13 +18,7 @@ package TestInit;
$VERSION = 1.01;
chdir 't' if -d 't';
-if ($^O eq 'VMS') {
- require File::Spec;
- @INC = File::Spec->rel2abs('[-.lib]');
-}
-else {
- @INC = '../lib';
-}
+@INC = '../lib';
# Don't interfere with the taintedness of %ENV, this could perturbate tests
$ENV{PERL_CORE} = 1 unless ${^TAINT};