fstests: move test group info to test files
[xfstests-dev.git] / tests / overlay / 100
index 90f24b6fac6488770b0ba92b27cbc294fde9a66d..b958088e10e19fc2bac743637040b1ef5165b909 100755 (executable)
@@ -7,22 +7,14 @@
 # Run unionmount testsuite to verify correctness
 # with single lower layer on same fs as upper
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick union samefs
 
-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