fstests: move test group info to test files
[xfstests-dev.git] / tests / overlay / 068
index 378e232c3b21ca6a7bad29e717827494fb4c4250..bc3cd5694962a7cfab9bf4e3315cb5dcf0458871 100755 (executable)
 # because name_to_handle_at() syscall does not support requesting connectable
 # file handles.
 #
-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 copyup hardlink exportfs nested
 
+# Override the default cleanup function.
 _cleanup()
 {
        cd /
@@ -36,8 +31,7 @@ _cleanup()
        $UMOUNT_PROG $mnt2 2>/dev/null
 }
 
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 
 # real QA test starts here