fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 618
index f1c1605ea9e5d99e16150674a8c32993b907a7e9..992b8457c3bc25bf14f70ab65052ea91c2defc0c 100755 (executable)
 # This test verifies the problem fixed in kernel with commit
 # ada49d64fb35 ("xfs: fix forkoff miscalculation related to XFS_LITINO(mp)")
 
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick attr
 
-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
 . ./common/attr
 
-# remove previous $seqres.full before test
-rm -f $seqres.full
-
 # real QA test starts here
 
 _supported_fs generic