summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-09-03 12:42:06 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-09-03 12:42:06 +0000
commit718526ec3e14f76c12139803b281d8a8e8c8bd21 (patch)
tree1d6a00c83cbb643d03491ca7a483ca3243f7d90c /lib
parent59d0036e5cc886f7b9d9e5d69d61712169272802 (diff)
downloadperl-718526ec3e14f76c12139803b281d8a8e8c8bd21.tar.gz
Patch the Filter::Simple test to work with
the core test suite (since the FilterTest.pm is in t/lib, not in lib). p4raw-id: //depot/perl@11844
Diffstat (limited to 'lib')
-rw-r--r--lib/Filter/Simple/t/filter.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Filter/Simple/t/filter.t b/lib/Filter/Simple/t/filter.t
index 47ee7d7075..5f6e382e88 100644
--- a/lib/Filter/Simple/t/filter.t
+++ b/lib/Filter/Simple/t/filter.t
@@ -1,3 +1,8 @@
+BEGIN {
+ chdir('t') if -d 't';
+ @INC = 'lib';
+}
+
use FilterTest qr/not ok/ => "ok", fail => "ok";
print "1..6\n";