fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 386
index 3b68fa0832775e71789f33069a719dff96974efd..0d902702f64a50bbdb1aba0d8c07fdf4b5fea854 100755 (executable)
 #
 # SGI PV 1015651
 #
-seq=$(basename $0)
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick quota
 
-here=$(pwd)
-
-rm -f $seqres.full
-
-tmp=/tmp/$$
 my_projects=$tmp.projects
 my_projid=$tmp.projid
 proj_name=test_project
@@ -27,17 +21,7 @@ proj_num=1
 
 qlimit_meg=500 # 500M limit imposed = 500 * 1024 * 1024 bytes
 
-status=1       # failure is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 15
-
-_cleanup()
-{
-    cd /
-    rm -f $tmp.*
-}
-
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 . ./common/quota