fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 170
index 84023e4d8561984097e9f67dd2e89c73606da976..5e622d24966e812b10d3882026cac4f5592b84e4 100755 (executable)
@@ -8,24 +8,10 @@
 # Check the filestreams allocator is doing its job.
 # Multi-file data streams should always write into seperate AGs.
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest rw filestreams auto quick
 
-here=`pwd`
-tmp=/tmp/$$
-rm -f $seqres.full
-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/filestreams