The loop/011 is regression test for kernel commit 5f75e081ab5c ("loop: Disable fallocate() zero and discard if not supported") which requires minimum kernel version 6.10. So running this test on kernel version older than v6.10 would FAIL. This patch ensures that we skip running loop/011 if kernel version is older than v6.10. Signed-off-by: Nilay Shroff <nilay@xxxxxxxxxxxxx> --- tests/loop/011 | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/loop/011 b/tests/loop/011 index 35eb39b..b674dd7 100755 --- a/tests/loop/011 +++ b/tests/loop/011 @@ -9,6 +9,7 @@ DESCRIPTION="Make sure unsupported backing file fallocate does not fill dmesg with errors" requires() { + _have_kver 6 10 _have_program mkfs.ext2 } -- 2.45.2