fstests: move test group info to test files
[xfstests-dev.git] / tests / overlay / 008
index e14f17f438b25718556b7807d9c15f58c9f4236f..d14f22f26475def2e126c3842cb27acba01ce09a 100755 (executable)
 # This upstream kernel patch fixed the issue
 # d0e13f5 ovl: fix uid/gid when creating over whiteout
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick whiteout
 
-here=`pwd`
-tmp=/tmp/$$
-status=1       # failure is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 15
-
-_cleanup()
-{
-       cd /
-       rm -f $tmp.*
-}
-
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 
-rm -f $seqres.full
-
 # real QA test starts here
 _supported_fs overlay
 _require_scratch