]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
xfs/3{43,32}: adapt tests for rt extent size greater than 1
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:27:30 +0000 (16:27 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 23 Jan 2025 21:19:57 +0000 (13:19 -0800)
commite4138ddb9d707623fe2b4362462b74c00012dfc7
tree4c457d5037466a1348ce0a0cbc37fdcb8c788f7c
parent97633f5fffb3b0023e3ab813ff2ba9a51205806e
xfs/3{43,32}: adapt tests for rt extent size greater than 1

Both of these tests for the realtime volume can fail when the rt extent
size is larger than a single block.

332 is a read-write functionality test that encodes md5sum in the
output, so we need to skip it if $blksz isn't congruent with the extent
size, because the fcollapse call will fail.

343 is a test of the rmap btree, so the fix here is simpler -- make
$blksz the file allocation unit, and get rid of the md5sum in the
golden output.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
tests/xfs/332
tests/xfs/332.out
tests/xfs/343