fstests: remove $seqres.full before tests run

Some tests append logs to $seqres.full and never remove the log, which
keeps the log file growing. Remove $seqres.full before test in
following tests:

   ext4/271
   generic/019
   generic/269
   generic/270
   shared/272

Signed-off-by: Eryu Guan <eguan@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Eryu Guan
2015-08-04 14:10:49 +10:00
committed by Dave Chinner
parent 6b992d5f16
commit 6733157f0f
5 changed files with 5 additions and 0 deletions
+1
View File
@@ -41,6 +41,7 @@ _supported_os Linux
_need_to_be_root
_require_scratch
rm -f $seqres.full
_scratch_mkfs_sized $((128 * 1024 * 1024)) >> $seqres.full 2>&1
# -onoload and EXT4_SYNC_FL on file is important becase result in
+1
View File
@@ -173,6 +173,7 @@ _workout()
# real QA test starts here
rm -f $seqres.full
_scratch_mkfs >> $seqres.full 2>&1 || _fail "mkfs failed"
_scratch_mount || _fail "mount failed"
allow_fail_make_request
+1
View File
@@ -66,6 +66,7 @@ _supported_os Linux
_need_to_be_root
_require_scratch
rm -f $seqres.full
_scratch_mkfs_sized $((512 * 1024 * 1024)) >> $seqres.full 2>&1
_scratch_mount
+1
View File
@@ -81,6 +81,7 @@ _require_user
_need_to_be_root
_require_scratch
rm -f $seqres.full
_scratch_mkfs_sized $((512 * 1024 * 1024)) >> $seqres.full 2>&1
_scratch_mount "-o usrquota,grpquota"
chmod 777 $SCRATCH_MNT
+1
View File
@@ -87,6 +87,7 @@ _supported_os Linux
_need_to_be_root
_require_scratch
rm -f $seqres.full
_scratch_mkfs_sized $((64 * 1024 * 1024)) >> $seqres.full 2>&1
_scratch_mount