[00/12] fstests: various fixes
mbox series

Message ID 155304267647.31707.14180452399822113095.stgit@magnolia
Headers show
Series
  • fstests: various fixes
Related show

Message

Darrick J. Wong March 20, 2019, 12:44 a.m. UTC
Hi all,

Here are a bunch of fixes and some new tests.

Patches 1-2 improve the random number algorithm that is used to shuffle
the test list when -r is used.

Patches 3-6 fix some minor problems with existing tests.

Patches 7-8 refactor the code that creates and maintains the cache of
populated filesystem images so that we can cache multiple different
configurations on the test filesystem, since it is advantageous to be
able to populate different configurations without discarding perfectly
good images.

Patch 9 implements a bunch more reflink corner cases when sharing into
or out from a bunch of different types of blocks.

Patch 10 ensures that xfs_copy and xfs_metadump can deal with all types
of xfs metadata.

Patch 11-12 wipe the scratch devices between tests and fix the tests
that erroneously expected the scratch devices to contain anything.

If you're going to start using this mess, you probably ought to just
pull from my git trees, which are linked below.

This is an extraordinary way to destroy everything.  Enjoy!
Comments and questions are, as always, welcome.

--D

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=djwong-devel

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=djwong-devel

fstests git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=djwong-devel