]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/092: skip test if file allocation unit isn't aligned
authorDarrick J. Wong <djwong@kernel.org>
Wed, 5 Oct 2022 22:30:38 +0000 (15:30 -0700)
committerZorro Lang <zlang@kernel.org>
Sat, 8 Oct 2022 11:21:24 +0000 (19:21 +0800)
commit41914271ff1163cb286cfa06e30323f32bdaad70
treefbc50b49234587a099738282989a6decdd5b1ca6
parent8088eb0a46cc6261cd1176e6c488760acc2fce78
generic/092: skip test if file allocation unit isn't aligned

This test exercises allocation behavior when truncating a preallocated
file down to 5M and then up to 7M.  If those two sizes aren't aligned
with the file allocation unit length, then the FIEMAP output will show
blocks beyond EOF.  That will cause trouble with the golden output, so
skip this test if that will be the case.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/092