}
use strict;
-plan tests => 2564;
+plan tests => 2116;
open(FOO,'op/read.t') || open(FOO,'t/op/read.t') || open(FOO,':op:read.t') || die "Can't open op.read";
seek(FOO,4,0) or die "Seek failed: $!";
my $tmpfile = tempfile();
-my (@values, @buffers) = ('', '');
+my @values = ('');
+my @buffers = ('');
foreach (65, 161, 253, 9786) {
push @values, join "", map {chr $_} $_ .. $_ + 4;
print FH $value;
close FH;
foreach my $offset (@offsets) {
+ next if !length($initial_buffer) && $offset != 0;
foreach my $length (@lengths) {
# Will read the lesser of the length of the file and the
# read length