fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 089
index 3114125d72add3bf9fa37e421beb20029ad0ffa8..1bbd1507d85f1a38bfbfe2aa67d636f7b6277206 100755 (executable)
@@ -7,18 +7,12 @@
 # Emulate the way Linux mount manipulates /etc/mtab to attempt to
 # reproduce a possible bug in rename (see src/t_mtab.c).
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest metadata auto
 
 mtab_output=$TEST_DIR/mtab_output
-here=`pwd`
-tmp=/tmp/$$
-status=1       # failure is the default!
-trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 
 addentries()
@@ -37,7 +31,6 @@ _supported_fs generic
 _require_test
 _require_hardlinks
 
-rm -f $seqres.full
 [ "X$TEST_DIR" = "X" ] && exit 1
 cd $TEST_DIR
 rm -fr test