fstests: move test group info to test files
[xfstests-dev.git] / tests / overlay / 104
index d3205d8d3fb29f17fb571189351006061ab7a471..090abbdda83266c759fc500a22b3db0bcce71988 100755 (executable)
@@ -7,22 +7,14 @@
 # Run unionmount testsuite to verify correctness
 # with multi lower layers, lowermost on unique fs
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto union rotate nonsamefs
 
-here=`pwd`
-tmp=/tmp/$$
-status=1       # failure is the default!
-trap "_unionmount_testsuite_cleanup; exit \$status" 0 1 2 3 15
+_register_cleanup "_unionmount_testsuite_cleanup"
 
-# 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
 
 _supported_fs overlay