#
# randholes test
#
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest rw ioctl auto quick
-here=`pwd`
-tmp=/tmp/$$
status=0 # success is the default!
pgsize=`$here/src/feature -s`
-trap "_cleanup; exit \$status" 0 1 2 3 15
+# Override the default cleanup function.
_cleanup()
{
rm -f $tmp.*
-e "s/-l .* -c/-l FSIZE -c/g"
}
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
. ./common/filter
_do_test()
_supported_fs xfs
_require_test
-rm -f $seqres.full
-
# Note on special numbers here.
#
# We are trying to create roughly 50 or 100 holes in a file