fstests: move test group info to test files
[xfstests-dev.git] / tests / btrfs / 225
index b745b536265effc5fdc670ed0fcf58602608cd48..408c03d2074c4047c6cabc06bddd61d0267ffebc 100755 (executable)
 #  Create a seed FS. Add a RW device to make it sprout FS and then delete
 #  the seed device.
 
-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 volume seed
 
+# Override the default cleanup function.
 _cleanup()
 {
        cd /
@@ -28,13 +23,9 @@ _cleanup()
        _btrfs_rescan_devices
 }
 
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 
-# remove previous $seqres.full before test
-rm -f $seqres.full
-
 # real QA test starts here
 
 # Modify as appropriate.