Patch the Filter::Simple test to work with
authorJarkko Hietaniemi <jhi@iki.fi>
Mon, 3 Sep 2001 12:42:06 +0000 (12:42 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 3 Sep 2001 12:42:06 +0000 (12:42 +0000)
the core test suite (since the FilterTest.pm
is in t/lib, not in lib).

p4raw-id: //depot/perl@11844

lib/Filter/Simple/t/filter.t

index 47ee7d7..5f6e382 100644 (file)
@@ -1,3 +1,8 @@
+BEGIN {
+    chdir('t') if -d 't';    
+    @INC = 'lib';
+}
+
 use FilterTest qr/not ok/ => "ok", fail => "ok";
 print "1..6\n";