fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 577
index 114463be864cdeb280d5c501056ce70e8eacbb22..98c3888f84a67d9ca698afb80642b82e304c7722 100755 (executable)
@@ -6,15 +6,10 @@
 #
 # Test the fs-verity built-in signature verification support.
 #
-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 verity
 
+# Override the default cleanup function.
 _cleanup()
 {
        cd /
@@ -22,14 +17,10 @@ _cleanup()
        rm -f $tmp.*
 }
 
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 . ./common/verity
 
-# remove previous $seqres.full before test
-rm -f $seqres.full
-
 # real QA test starts here
 _supported_fs generic
 _require_scratch_verity