fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 189
index 7cb8b3a6dbfdf5f5f1f0c33fdc23e3228cc282a9..e601881a6fbacf1f832b721f17317aed3ce3f99d 100755 (executable)
 # <---- Normal programming is resumed ---->
 #
 #
-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
-tag="added by qa $seq"
+. ./common/preamble
+_begin_fstest mount auto quick
 
-rm -f $seqres.full
+tag="added by qa $seq"
 
+# Override the default cleanup function.
 _cleanup()
 {
        cd /
@@ -223,8 +217,7 @@ _putback_scratch_fstab()
        $SED_PROG -i "/# $tag/d" /etc/fstab
 }
 
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 . ./common/attr