fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 006
index 1a3bb5ac5ec95982b7e026cd501d263e04d43b58..bc532920502c9eaee33f848c4b675c182a91d082 100755 (executable)
@@ -6,15 +6,12 @@
 #
 # permname
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest dir udf auto quick
 
-here=`pwd`
-tmp=/tmp/$$
 status=0       # success is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 15
 
+# Override the default cleanup function.
 _cleanup()
 {
     cd /
@@ -31,8 +28,7 @@ _count()
     '
 }
 
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 
 # real QA test starts here