fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 238
index b156390d89e5c759bbffa30e958a618d26592a40..64abb4de15d7f838177ff2ac33bbc02ca5088dff 100755 (executable)
@@ -6,23 +6,10 @@
 #
 # Check stale handles pointing to unlinked files are detected correctly
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick metadata ioctl
 
-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
 
 # real QA test starts here