fstests: move test group info to test files
[xfstests-dev.git] / tests / overlay / 111
index 584a0a7a2599f78b2e8a4305d1416f5d7d1665b2..93835f40d67b39b6f52ab9b8eadbbb053986a14c 100755 (executable)
@@ -9,22 +9,14 @@
 # on same fs
 # with xino enabled (xino overflow not expected)
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick union nested samefs xino
 
-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