[PATCH 0/2] Ensure _scratch_fuzz_modify() works for other filesystems

Luis Henriques (SUSE)
2024-03-14T17:25:19Z

Hi!

I guess test ext4/006 isn't executed very often, because as far as I can see
it has been broken for quite some time. The problem is that the function
_scratch_fuzz_modify() is executing xfs-specific operations that will make
this test fail.

The first patch updates this function so that xfs-specific operations are
executed only when that filesystem is being tested.

The second patch simply updates the test to take into account the new output
of the function (and yeah, counting log lines is an ugly hack).

Luis Henriques (SUSE) (2):
common/fuzzy: make _scratch_fuzz_modify work for non-xfs filesystems
ext4/006: take into account updates to _scratch_fuzz_modify()

common/fuzzy | 16 +++++++++-------
tests/ext4/006 | 2 +-
2 files changed, 10 insertions(+), 8 deletions(-)