From: Theodore Ts'o Date: Mon, 15 Dec 2014 23:53:57 +0000 (+1100) Subject: ext4/308: require fallocate support X-Git-Tag: v2022.05.01~2986 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ba3fc9f85b77f38d1314dd143d5a83dd0c71195d;p=xfstests-dev.git ext4/308: require fallocate support These tests use the falloc command in xfs_io, and there are some file systems (ext3) or file system configurations (ext4 in ext3 compatibility mode) which do not support fallocate. So add the explicit requirement to avoid false test failures. Signed-off-by: Theodore Ts'o Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- diff --git a/tests/ext4/308 b/tests/ext4/308 index 8df24ba7..948ff3fb 100755 --- a/tests/ext4/308 +++ b/tests/ext4/308 @@ -46,6 +46,7 @@ _supported_os Linux _need_to_be_root _require_scratch _require_defrag +_require_xfs_io_command "falloc" rm -f $seqres.full diff --git a/tests/generic/324 b/tests/generic/324 index 1868bbc9..5e642dcb 100755 --- a/tests/generic/324 +++ b/tests/generic/324 @@ -44,6 +44,7 @@ _supported_os Linux _need_to_be_root _require_scratch _require_defrag +_require_xfs_io_command "falloc" rm -f $seqres.full