[PATCH 25/33] ext4/001: check for fiemap support

Darrick J. Wong
2025-10-29T01:26:57Z

fuse2fs only supports fiemap in iomap mode, so disable this test when
it's present.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
tests/ext4/001 | 1 +
1 file changed, 1 insertion(+)

diff --git a/tests/ext4/001 b/tests/ext4/001
index 1990746aa58764..1ec35a76ea8721 100755
--- a/tests/ext4/001
+++ b/tests/ext4/001
@@ -19,6 +19,7 @@ _exclude_fs ext3

_require_xfs_io_command "falloc"
_require_xfs_io_command "fzero"
+_require_xfs_io_command "fiemap"
_require_test

# Select appropriate golden output based on mount options