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 <tytso@xxxxxxx> Cc: Dmitry Monakhov <dmonakhov@xxxxxxxxxx> --- tests/ext4/307 | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/ext4/307 b/tests/ext4/307 index 081f819..673b9ce 100755 --- a/tests/ext4/307 +++ b/tests/ext4/307 @@ -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 -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html