#
# Based on xfs-specific test 072
#
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest rw auto prealloc quick enospc
-_cleanup()
-{
- cd /
- rm -f $tmp.*
-}
-
-here=`pwd`
tmp=$TEST_DIR/$$
-status=1 # failure is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 15
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
. ./common/filter
# real QA test starts here
[ -n "$XFS_IO_PROG" ] || _notrun "xfs_io executable not found"
-rm -f $seqres.full
-
_require_test
_require_xfs_io_command "falloc"