fstests: move test group info to test files
[xfstests-dev.git] / tests / overlay / 116
index c3f9dcec251f919a72c9d59e05c95930191a9bd1..084ea84c8cad3a372781a5edbff24cf385dfb0f5 100755 (executable)
@@ -8,22 +8,14 @@
 # with multi lower layers, lowermost is an overlay layer,
 # whose layers are not on same fs
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto union rotate nested 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