summaryrefslogtreecommitdiff
path: root/lib/Test
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2001-10-07 21:53:33 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2001-10-08 11:53:30 +0000
commit88587957d5515b280bc1becf23e9f6520d5dce08 (patch)
tree9bce880697d5b08985c9b38192d4549c30054862 /lib/Test
parente3b2f2afc4d28243cf088b06f65acc79e00144f5 (diff)
downloadperl-88587957d5515b280bc1becf23e9f6520d5dce08.tar.gz
& what's to be done for 5.8.0?
Message-ID: <20011007205333.S38756@plum.flirble.org> p4raw-id: //depot/perl@12356
Diffstat (limited to 'lib/Test')
-rw-r--r--lib/Test/Simple/t/plan_is_noplan.t2
-rw-r--r--lib/Test/Simple/t/todo.t3
2 files changed, 5 insertions, 0 deletions
diff --git a/lib/Test/Simple/t/plan_is_noplan.t b/lib/Test/Simple/t/plan_is_noplan.t
index dd0833c352..98e962ac39 100644
--- a/lib/Test/Simple/t/plan_is_noplan.t
+++ b/lib/Test/Simple/t/plan_is_noplan.t
@@ -3,6 +3,8 @@ package My::Test;
# This feature requires a fairly new version of Test::Harness
BEGIN {
+ chdir 't' if -d 't';
+ @INC = '../lib';
require Test::Harness;
if( $Test::Harness::VERSION < 1.20 ) {
print "1..0\n";
diff --git a/lib/Test/Simple/t/todo.t b/lib/Test/Simple/t/todo.t
index 70ef083a00..7cbde9519c 100644
--- a/lib/Test/Simple/t/todo.t
+++ b/lib/Test/Simple/t/todo.t
@@ -1,4 +1,7 @@
+#! /usr/local/bin/perl -w
BEGIN {
+ chdir 't' if -d 't';
+ @INC = '../lib';
require Test::Harness;
require Test::More;