mbox series

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

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

Message

Luis Henriques March 15, 2024, 5:13 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).

Changes since v1:
* Updated the second patch commit message to add further details on what
  changed with the test output.

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(-)