fstests: move test group info to test files
[xfstests-dev.git] / tests / btrfs / 162
index 83816ad0a2561af7ac0093939cd21d0d3ee7e098..ba37ef0c9df7880d9b4f0be1b7205c30ade909a5 100755 (executable)
@@ -9,29 +9,13 @@
 #  Create a sprout device
 #  Make the sprout device a seed device and create a sprout device again
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick volume seed
 
-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
 . ./common/filter.btrfs
 
-# remove previous $seqres.full before test
-rm -f $seqres.full
-
 # real QA test starts here
 
 # Modify as appropriate.