diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-09-06 13:08:48 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-09-06 13:08:48 +0000 |
commit | 15db8fc4040f40c74bf7ab626bbe4a44cc833b6b (patch) | |
tree | 7256389dba6bdc9afd982269249b1db343481bfd /lib/Test/Simple/t/fail-like.t | |
parent | 1dea78b912dddc6165694f2617c246d6f69a90dd (diff) | |
download | perl-15db8fc4040f40c74bf7ab626bbe4a44cc833b6b.tar.gz |
Rewhack Test-Simple into core harness.
p4raw-id: //depot/perl@11912
Diffstat (limited to 'lib/Test/Simple/t/fail-like.t')
-rw-r--r-- | lib/Test/Simple/t/fail-like.t | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Test/Simple/t/fail-like.t b/lib/Test/Simple/t/fail-like.t index dee34e6845..40a70e68e5 100644 --- a/lib/Test/Simple/t/fail-like.t +++ b/lib/Test/Simple/t/fail-like.t @@ -13,6 +13,11 @@ BEGIN { use strict; +BEGIN { + chdir 't' if -d 't'; + @INC = '../lib'; +} + # Can't use Test.pm, that's a 5.005 thing. package My::Test; @@ -36,7 +41,7 @@ package main; require Test::More; -push @INC, 't/lib'; +push @INC, '../t/lib'; require Test::Simple::Catch::More; my($out, $err) = Test::Simple::Catch::More::caught(); |