mbox series

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

Message ID 20240314172512.28293-1-luis.henriques@linux.dev (mailing list archive)
Headers show
Series Ensure _scratch_fuzz_modify() works for other filesystems | expand

Message

Luis Henriques March 14, 2024, 5:25 p.m. UTC
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(-)