summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorArtur Bergman <sky@nanisky.com>2002-02-05 11:39:24 +0000
committerArtur Bergman <sky@nanisky.com>2002-02-05 11:39:24 +0000
commitf47fe535c3933e8edc36375f2e8361ede38636f9 (patch)
tree545c4323cc9194983c1ddab729a5c752df48cebc /lib
parent4e0f6e8c51a1578c6008613692eebbd26d0be737 (diff)
downloadperl-f47fe535c3933e8edc36375f2e8361ede38636f9.tar.gz
Add . first to the PATH environment to test that we really
get ./perl and not some other older perl. p4raw-id: //depot/perl@14559
Diffstat (limited to 'lib')
-rw-r--r--lib/File/Spec/t/rel2abs2rel.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/File/Spec/t/rel2abs2rel.t b/lib/File/Spec/t/rel2abs2rel.t
index 69232d94c8..e824dff94b 100644
--- a/lib/File/Spec/t/rel2abs2rel.t
+++ b/lib/File/Spec/t/rel2abs2rel.t
@@ -8,6 +8,9 @@ BEGIN {
@INC = '../lib';
}
+use Config;
+$ENV{'PATH'} = '.' . $Config{'path_sep'} . $ENV{'PATH'};
+
use Test::More tests => 5;
use File::Spec;