fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 409
index 49a973c916ac19250233a603cff2c436c581aa39..7a5004ed822ad8f600503b0091ac9f087e1b0c56 100755 (executable)
 # |non-shared| shared        |      private   |      slave     |  invalid   |
 # ***************************************************************************
 #
-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 mount
 
+# Override the default cleanup function.
 _cleanup()
 {
        cd /
@@ -37,13 +32,9 @@ _cleanup()
        rm -rf $MNTHEAD
 }
 
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 
-# remove previous $seqres.full before test
-rm -f $seqres.full
-
 # real QA test starts here
 _supported_fs generic
 _require_test