fstests: move test group info to test files
[xfstests-dev.git] / tests / ext4 / 001
index 9650303d15b56313dce39f1b55b357b777de0c7b..f1d1e829f7a104fe567de971b1c43944481af252 100755 (executable)
@@ -7,23 +7,10 @@
 # Test fallocate FALLOC_FL_ZERO_RANGE
 #
 seqfull=$0
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto prealloc quick zero
 
-here=`pwd`
-tmp=/tmp/$$
-status=1       # failure is the default!
-
-_cleanup()
-{
-    rm -f $tmp.*
-}
-
-trap "_cleanup ; exit \$status" 0 1 2 3 15
-
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 . ./common/punch