diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-05-10 10:45:52 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-05-10 10:45:52 +0000 |
commit | eb57363fedc1e70c9a6269b74b72371ac0c5eeef (patch) | |
tree | 677f668a722a261f1cd3606807cfd1b17bcd43df /t | |
parent | 90866323e988eded2d449f93e3ad86d3d1542814 (diff) | |
download | perl-eb57363fedc1e70c9a6269b74b72371ac0c5eeef.tar.gz |
testsuite nits
p4raw-id: //depot/perl@3370
Diffstat (limited to 't')
-rwxr-xr-x | t/lib/io_linenum.t | 6 | ||||
-rwxr-xr-x | t/op/filetest.t | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/t/lib/io_linenum.t b/t/lib/io_linenum.t index 954b05fd57..0d28e1898c 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 7e03c42949..1e095be7e1 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'; |