fstests: move test group info to test files
[xfstests-dev.git] / tests / ext4 / 271
index 5afe1b2d46646e3602a8c4de932e03907f331389..8d9bd7dc9148a8bfd59fafc2afd1077d720999fa 100755 (executable)
@@ -6,17 +6,10 @@
 #
 # Regression testcase for d583fb87a3ff0 (ext4 extent corruption)
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto rw quick
 
-here=`pwd`
-tmp=/tmp/$$
-status=1       # failure is the default!
-trap "rm -f $tmp.*; 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
@@ -27,7 +20,6 @@ _require_scratch
 _exclude_scratch_mount_option "data" "commit" "journal_checksum" \
                              "journal_async_commit"
 
-rm -f $seqres.full
 _scratch_mkfs_sized $((128 * 1024 * 1024)) >> $seqres.full 2>&1
 
 # -onoload and EXT4_SYNC_FL on file is important becase result in