summaryrefslogtreecommitdiff
path: root/lib/if.t
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-11-30 20:56:00 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-11-30 20:56:00 +0000
commit78bfd9a9e6bcfb9239c5e76cd2665fba8a40d211 (patch)
tree8ca24bab453e21a617de8e71cccea0fd75490810 /lib/if.t
parentaeee043d8074059c1bd536c87f8aae9763701ad1 (diff)
downloadperl-78bfd9a9e6bcfb9239c5e76cd2665fba8a40d211.tar.gz
Fix the test boilerplate in lib/if.t, so it can be run
from the t/ directory. p4raw-id: //depot/perl@21828
Diffstat (limited to 'lib/if.t')
-rw-r--r--lib/if.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/if.t b/lib/if.t
index d17ff51806..d09de5895c 100644
--- a/lib/if.t
+++ b/lib/if.t
@@ -1,7 +1,7 @@
#!./perl
BEGIN {
- chdir 't' and @INC = '../lib' if -f 't/TEST';
+ chdir 't' and @INC = '../lib' if $ENV{PERL_CORE};
}
my $t = 1;