fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 048
index cf2c763de00e243b12694ab662593b94ba010392..5c43dced25497d7b7874e42af591001a040c148c 100755 (executable)
@@ -6,25 +6,12 @@
 #
 # test return codes from xfsctl on bad userspace address
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest other auto quick
 
-here=`pwd`
-tmp=/tmp/$$
-status=1       # failure is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 15
-
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 
-_cleanup()
-{
-    cd /
-    rm -f $tmp.*
-}
-
 # real QA test starts here
 _supported_fs xfs
 _require_test