fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 269
index aec573c06ad0ed140e2b5eeded08398d3f1f13f0..d78b74631621e682afff82cc06faa3ab1d688748 100755 (executable)
@@ -6,17 +6,10 @@
 #
 # Run fsstress and ENSPC hitters in parallel, check fs consistency an the end
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto rw prealloc ioctl enospc stress
 
-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
 # Disable all sync operations to get higher load
 FSSTRESS_AVOID="$FSSTRESS_AVOID -ffsync=0 -fsync=0 -ffdatasync=0"
@@ -49,7 +42,6 @@ _workout()
 _supported_fs generic
 _require_scratch
 
-rm -f $seqres.full
 _scratch_mkfs_sized $((512 * 1024 * 1024)) >> $seqres.full 2>&1
 _scratch_mount