p4raw-id: //depot/perl@3370
use IO::File;
use Test;
-BEGIN { plan tests => 10, todo => [10] }
+BEGIN {
+ plan tests => 9 #, todo => [10]
+}
sub lineno
{
$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 $.');
# 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';