12_longfetch_rs.t revision 7c478bd95313f5f23a4c958a745db2134aa03244
#
# Make sure we can fetch a record in the middle of the file
# before we've ever looked at any records before it
#
# (tests _fill_offsets_to() )
#
my $file = "tf$$.txt";
my $data = "rec0blahrec1blahrec2blah";
print "1..5\n";
my $N = 1;
print "ok $N\n"; $N++;
binmode F;
print F $data;
close F;
print $o ? "ok $N\n" : "not ok $N\n";
$N++;
my $n;
# 3-5
for (2, 1, 0) {
$N++;
}
END {
undef $o;
untie @a;
}