fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 081
index 5dff079852d330804308ea1703c33e8542f6c337..f795b2c1169bfd018ca5dc1cfff93118425a58e2 100755 (executable)
@@ -6,15 +6,10 @@
 #
 # Test I/O error path by fully filling an dm snapshot.
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
-
-here=`pwd`
-tmp=/tmp/$$
-status=1       # failure is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 15
+. ./common/preamble
+_begin_fstest auto quick
 
+# Override the default cleanup function.
 _cleanup()
 {
        cd /
@@ -44,8 +39,7 @@ _cleanup()
        done
 }
 
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 
 # real QA test starts here
@@ -56,7 +50,6 @@ _require_dm_target snapshot
 _require_command $LVM_PROG lvm
 
 echo "Silence is golden"
-rm -f $seqres.full
 
 vgname=vg_$seq
 lvname=base_$seq