fstests: move test group info to test files
[xfstests-dev.git] / tests / ceph / 001
index 0515fff812629a81a7251f3e8225c85e95600766..aca77168569a109ab52bb14942246afdc2ec8107 100755 (executable)
 # 1) the beginning (1st object) of dst file, 2) the end (last object) of dst
 # file and 3) the middle of the dst file.
 #
-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
-
-_cleanup()
-{
-       cd /
-       rm -rf $tmp.*
-}
+. ./common/preamble
+_begin_fstest auto quick copy
 
 # get standard environment
-. common/rc
 . common/filter
 . common/attr
 . common/reflink
@@ -41,7 +28,6 @@ _require_test
 workdir=$TEST_DIR/test-$seq
 rm -rf $workdir
 mkdir $workdir
-rm -f $seqres.full
 
 check_range()
 {