fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 441
index 814387b2a9456ed18c6c9fce8182b507d30c15b4..0ec751daf72429f1b930294f59e0390a9001c529 100755 (executable)
@@ -9,15 +9,10 @@
 # on all fds and fsync on all fds. Ensure that we get errors on all of them.
 # Then fsync on all one last time and verify that all return 0.
 #
-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 eio
 
+# Override the default cleanup function.
 _cleanup()
 {
        cd /
@@ -25,8 +20,7 @@ _cleanup()
        _dmerror_cleanup
 }
 
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 . ./common/dmerror
 
@@ -52,8 +46,6 @@ _require_dm_target error
 _require_test_program fsync-err
 _require_test_program dmerror
 
-rm -f $seqres.full
-
 # Disable the scratch rt device to avoid test failures relating to the rt
 # bitmap consuming all the free space in our small data device.
 unset SCRATCH_RTDEV