fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 355
index 74fba0f913aa526eddf29d4ba64f30e2b7b366cf..4bc69eeb3ed5efa55238cc58a08039037805ad0b 100755 (executable)
@@ -6,27 +6,12 @@
 #
 # Test clear of suid/sgid on direct write.
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick
 
-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
 
-rm -f $seqres.full
-
 # real QA test starts here
 _supported_fs generic
 _require_test