mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
fstests: fix various $seqres.full issues
There're many tests don't remove $seqres.full before writing to it, and accumulating logs there, then the logs are always growing over time. Let's fix them once. generic/16[1-8] generic/170 and generic/33[34] truncate $seqres.full in the middle of the test, which results in partial logs. Fix them as well. xfs/227 has duplicated lines to remove $seqres.full, remove the extra line. Signed-off-by: Eryu Guan <eguan@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
@@ -108,6 +108,7 @@ _workout()
|
||||
|
||||
_require_fio $fio_config
|
||||
|
||||
rm -f $seqres.full
|
||||
_scratch_mkfs >> $seqres.full 2>&1
|
||||
_scratch_mount
|
||||
|
||||
|
||||
@@ -126,6 +126,7 @@ _workout()
|
||||
|
||||
_require_fio $fio_config
|
||||
|
||||
rm -f $seqres.full
|
||||
_scratch_mkfs >> $seqres.full 2>&1
|
||||
_scratch_mount
|
||||
|
||||
|
||||
@@ -136,6 +136,7 @@ _workout()
|
||||
|
||||
_require_fio $fio_config
|
||||
|
||||
rm -f $seqres.full
|
||||
_scratch_mkfs >> $seqres.full 2>&1
|
||||
_scratch_mount
|
||||
|
||||
|
||||
@@ -113,6 +113,7 @@ _workout()
|
||||
|
||||
_require_fio $fio_config
|
||||
|
||||
rm -f $seqres.full
|
||||
_scratch_mkfs >> $seqres.full 2>&1
|
||||
_scratch_mount
|
||||
|
||||
|
||||
@@ -65,6 +65,7 @@ _require_scratch
|
||||
_require_defrag
|
||||
_require_xfs_io_command "falloc"
|
||||
|
||||
rm -f $seqres.full
|
||||
_scratch_mkfs_sized $((512 * 1024 * 1024)) >> $seqres.full 2>&1
|
||||
_scratch_mount
|
||||
|
||||
|
||||
Reference in New Issue
Block a user