diff options
Diffstat (limited to 'contrib/perl5/t/op/read.t')
-rwxr-xr-x | contrib/perl5/t/op/read.t | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/contrib/perl5/t/op/read.t b/contrib/perl5/t/op/read.t deleted file mode 100755 index 2746970..0000000 --- a/contrib/perl5/t/op/read.t +++ /dev/null @@ -1,19 +0,0 @@ -#!./perl - -# $RCSfile: read.t,v $$Revision: 4.1 $$Date: 92/08/07 18:28:17 $ - -print "1..4\n"; - - -open(FOO,'op/read.t') || open(FOO,'t/op/read.t') || die "Can't open op.read"; -seek(FOO,4,0); -$got = read(FOO,$buf,4); - -print ($got == 4 ? "ok 1\n" : "not ok 1\n"); -print ($buf eq "perl" ? "ok 2\n" : "not ok 2 :$buf:\n"); - -seek (FOO,0,2) || seek(FOO,20000,0); -$got = read(FOO,$buf,4); - -print ($got == 0 ? "ok 3\n" : "not ok 3\n"); -print ($buf eq "" ? "ok 4\n" : "not ok 4\n"); |