testsuite nits
authorGurusamy Sarathy <gsar@cpan.org>
Mon, 10 May 1999 10:45:52 +0000 (10:45 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Mon, 10 May 1999 10:45:52 +0000 (10:45 +0000)
p4raw-id: //depot/perl@3370

t/lib/io_linenum.t
t/op/filetest.t

index 954b05f..0d28e18 100755 (executable)
@@ -11,7 +11,9 @@ use strict;
 use IO::File;
 use Test;
 
-BEGIN { plan tests => 10, todo => [10] }
+BEGIN {
+    plan tests => 9 #, todo => [10]
+}
 
 sub lineno
 {
@@ -61,7 +63,7 @@ OK(lineno($w), "22 6 22");
 
 $w->getline for (1 .. 5);
 OK(lineno($w), "11 11 11");
-
+__END__
 # This test doesn't work.  It probably won't until local $. does.
 $t = tell Q;
 OK(lineno($w), "22 11 22", 'waiting for local $.');
index 7e03c42..1e095be 100755 (executable)
@@ -3,11 +3,12 @@
 # There are few filetest operators that are portable enough to test.
 # See pod/perlport.pod for details.
 
-use Config;
 BEGIN {
     chdir 't' if -d 't';
+    unshift @INC, '../lib' if -d '../lib';
 }
 
+use Config;
 print "1..10\n";
 
 print "not " unless -d 'op';