fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 126
index 636ca00d38dfc656e3d78d698ddd604c6f8b1d2e..04fbd4c6dd9a0203ddf80d125bb01cba917f57ea 100755 (executable)
@@ -6,22 +6,16 @@
 #
 # tests various file permission options modified from CXFSQA test fs_perms
 #
-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 perms auto quick
 
+# Override the default cleanup function.
 _cleanup()
 {
     cd /
 }
 
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 
 # real QA test starts here