#
#
#
# This script is a stress test for ::Exacct and libexacct.
# See README for details.
#
use strict;
use warnings;
use blib;
use Fcntl;
#
# Dump an object.
#
sub dump_object
{
$indent ||= 0;
$indent++;
} else {
}
} else {
$indent++;
}
}
}
#
# Dump a list of objects.
#
sub dump_objects
{
}
}
#
# Build up a set of random objects.
#
sub gen_objs
{
$embed ||= 0;
my @objs;
$rt <<= 28;
123456789.123456789));
my $o = $ono++;
my $o = $ono++;
}
# If for an embedded object, just return 1 object.
}
}
#
# Main routine.
#
$| = 1;
my $iters = 0;
while (! $exit) {
print(".");
# Generate and output some random records.
$f = undef;
# Scan the file forwards with next.
while ($f->next()) {
;
}
$f = undef;
# Scan the file backwards with previous.
;
}
$f = undef;
# Read the file forwards with get.
}
$f = undef;
# Dump the objects and compare with original.
}
# Read the file forwards with next and get.
while ($f->next()) {
}
$f = undef;
# Dump the objects and compare with original.
}
# Read the file backwards with previous and get.
}
$f = undef;
# Dump the objects and compare with original.
}
# Run randtest on the file.
if ($s == 2) {
$exit = 1;
} elsif ($s != 0) {
}
}
$iters++;
}