fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 490
index 876b38950dce02051988d1d369ad52ef569475a3..f4fb67be2471351bc2caff66e65dc616c0676977 100755 (executable)
@@ -9,17 +9,10 @@
 # for that. The problem has been fixed by commit 2ee3ee06a8fd79 "ext4: fix hole
 # length detection in ext4_ind_map_blocks()"
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick rw seek
 
-here=`pwd`
-tmp=/tmp/$$
-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
 
 _supported_fs generic
@@ -31,6 +24,7 @@ base_test_file=$TEST_DIR/seek_sanity_testfile.$seq
 
 _require_test_program "seek_sanity_test"
 
+# Override the default cleanup function.
 _cleanup()
 {
        cd /