fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 582
index f685b09c9f9c32ca4bd4441b42812be43309e1ae..bd7d2ea615e1f286585620b1fc7bee90e4edb256 100755 (executable)
@@ -9,29 +9,13 @@
 #
 # This is the same as generic/548, except using v2 policies.
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick encrypt
 
-here=`pwd`
-tmp=/tmp/$$
-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/encrypt
 
-# remove previous $seqres.full before test
-rm -f $seqres.full
-
 # real QA test starts here
 _supported_fs generic