ext4: require fallocate support to run ext4/307
PATCH 1/1 ext4: require fallocate support to run ext4/307
Some file system configurations don't support fallocate, which is required for e4defrag to run. So add a _require_xfs_io_command to prevent a test failure if fallocate isn't supported in (for example) ext3 compatibility mode.
Signed-off-by Theodore Ts'o <[email protected]>
Cc Dmitry Monakhov <[email protected]>
--- tests/ext4/307 | 1 + 1 file changed, 1 insertion(+)
tests/ext4/307 +1 -0
@@ -64,6 +64,7 @@ _supported_os Linux _need_to_be_root _require_scratch _require_defrag +_require_xfs_io_command "falloc" _scratch_mkfs_sized $((512 * 1024 * 1024)) >> $seqres.full 2>&1 _scratch_mount
Signature · 1 line
2.1.0