fstests: remove $seqres.full before test to avoid keep-growing log file
PATCH 1/1 fstests: remove $seqres.full before test to avoid keep-growing log file
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 <[email protected]>
--- tests/ext4/271 | 1 + tests/generic/019 | 1 + tests/generic/269 | 1 + tests/generic/270 | 1 + tests/shared/272 | 1 + 5 files changed, 5 insertions(+)
tests/ext4/271 +1 -0
@@ -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
tests/generic/019 +1 -0
@@ -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
tests/generic/269 +1 -0
@@ -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
tests/generic/270 +1 -0
@@ -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
tests/shared/272 +1 -0
@@ -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
Signature · 1 line
2.4.3