From: Gurusamy Sarathy Date: Mon, 10 May 1999 10:45:52 +0000 (+0000) Subject: testsuite nits X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=eb57363fedc1e70c9a6269b74b72371ac0c5eeef;p=p5sagit%2Fp5-mst-13.2.git testsuite nits p4raw-id: //depot/perl@3370 --- diff --git a/t/lib/io_linenum.t b/t/lib/io_linenum.t index 954b05f..0d28e18 100755 --- a/t/lib/io_linenum.t +++ b/t/lib/io_linenum.t @@ -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 $.'); diff --git a/t/op/filetest.t b/t/op/filetest.t index 7e03c42..1e095be 100755 --- a/t/op/filetest.t +++ b/t/op/filetest.t @@ -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';