fstests: move test group info to test files
[xfstests-dev.git] / tests / overlay / 106
index 0b3e0c9849f6cd651154cfea3815187f943e3cc7..d701e49c5d5f8b8e3451203abea02e828bf814ba 100755 (executable)
@@ -8,22 +8,14 @@
 # with multi lower layers, some layers on unique fs,
 # one layer is on tmpfs.
 #
-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