fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 571
index 2e32442a628c7c8575a92745b3ecc5f977136456..bd5737fae3f96b7df1d60d16beaabeefeccb10eb 100755 (executable)
@@ -6,21 +6,13 @@
 #
 # lease test
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick
 
-here=`pwd`
-tmp=/tmp/$$
-status=1       # failure is the default!
-
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 . ./common/locktest
 
-trap "_cleanup; exit \$status" 0 1 2 3 15
-
 # real QA test starts here
 _supported_fs generic
 _require_test