[PATCHSET v6.4 05/12] fstests: make protofiles less janky

Darrick J. Wong
2025-02-19T00:47:10Z

Hi all,

Add a new regression test for xattr support of xfs protofiles.

If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.

This has been running on the djcloud for months with no problems. Enjoy!
Comments and questions are, as always, welcome.

--D

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

fstests git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=protofiles
---
Commits in this patchset:
* xfs/019: reduce _fail calls in test
* xfs/019: test reserved file support
* xfs: test filesystem creation with xfs_protofile
* fstests: test mkfs.xfs protofiles with xattr support
---
common/config | 1
tests/xfs/019 | 14 +++--
tests/xfs/019.out | 5 ++
tests/xfs/1894 | 109 +++++++++++++++++++++++++++++++++++++++
tests/xfs/1894.out | 4 +
tests/xfs/1937 | 144 ++++++++++++++++++++++++++++++++++++++++++++++++++++
tests/xfs/1937.out | 102 +++++++++++++++++++++++++++++++++++++
7 files changed, 374 insertions(+), 5 deletions(-)
create mode 100755 tests/xfs/1894
create mode 100644 tests/xfs/1894.out
create mode 100755 tests/xfs/1937
create mode 100644 tests/xfs/1937.out