fstests: move test group info to test files
[xfstests-dev.git] / tests / overlay / 062
index e522424252f8fd96df9c6e0af1d42b68d040035d..04e13e46a8b57b991514226320df48d5506e9311 100755 (executable)
 # commit 8b58924ad55c ("ovl: lookup in inode cache first when decoding
 # lower file handle").
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
-
-here=`pwd`
-tmp=/tmp/$$
-status=1       # failure is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 15
+. ./common/preamble
+_begin_fstest auto quick exportfs
 
+# Override the default cleanup function.
 _cleanup()
 {
        cd /
@@ -26,8 +21,7 @@ _cleanup()
        $UMOUNT_PROG $lowertestdir
 }
 
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 
 # real QA test starts here