fstests: move test group info to test files
[xfstests-dev.git] / tests / overlay / 102
index 89a6a08c5621219cacd784daf3aa7482ecde70da..adddab70f0cb66abe82bffec96c9974e7af7c7d6 100755 (executable)
@@ -8,22 +8,14 @@
 # with single lower layer not on same fs as upper
 # with xino enabled
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick union nonsamefs 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