fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 213
index 7d6aeaa89d196239457bb7a8d6613c68d3ac9837..ad52fbb1767eea04f08d38c886d0b788d77faf4c 100755 (executable)
@@ -9,23 +9,12 @@
 #
 # Based on xfs-specific test 072
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest rw auto prealloc quick enospc
 
-_cleanup()
-{
-       cd /
-       rm -f $tmp.*
-}
-
-here=`pwd`
 tmp=$TEST_DIR/$$
-status=1       # failure is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 15
 
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 
 # real QA test starts here
@@ -35,8 +24,6 @@ _supported_fs generic
 
 [ -n "$XFS_IO_PROG" ] || _notrun "xfs_io executable not found"
 
-rm -f $seqres.full
-
 _require_test
 _require_xfs_io_command "falloc"