generic/633: add _require_idmapped_mounts check
PATCH 1/1 generic/633: add _require_idmapped_mounts check
Skip the test on older kernels that don't implement mount_setattr and open_tree syscalls, instead of failing.
--- tests/generic/633 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/generic/633 +1 -1
@@ -12,7 +12,7 @@ _begin_fstest auto quick atime attr cap idmapped io_uring mount perms rw unlink # Import common functions. . ./common/filter - +_require_idmapped_mounts _require_test echo "Silence is golden"
Signature · 1 line
2.44.0
Quoted 13 lines · Anthony Iliopoulos
Skip the test on older kernels that don't implement
mount_setattrandopen_treesyscalls, instead of failing.Signed-off-by Anthony Iliopoulos <[email protected]>--- tests/generic/633 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/generic/633 +0
-0
tests/generic/633 _begin_fstest auto quick atime attr cap idmapped io_uring mount perms rw unlink · line 18
Quoted 8 lines
tests/generic/633 +1
-1@@ -12,7 +12,7 @@ _begin_fstest auto quick atime attr cap idmapped io_uring mount perms rw unlink # Import common functions. . ./common/filter - +_require_idmapped_mounts _require_test echo "Silence is golden"
Looks good, although generic/696 and generic/697 probably should be covered too.
Zorro Lang
Reviewed-byQuoted 22 lines · David Disseldorp
Quoted 20 lines · Anthony Iliopoulos
Skip the test on older kernels that don't implement
mount_setattrandopen_treesyscalls, instead of failing.Signed-off-by Anthony Iliopoulos <[email protected]>--- tests/generic/633 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/generic/633 +1
-1@@ -12,7 +12,7 @@ _begin_fstest auto quick atime attr cap idmapped io_uring mount perms rw unlink # Import common functions. . ./common/filter - +_require_idmapped_mounts _require_test
Quoted 6 lines
tests/generic/633 _begin_fstest auto quick atime attr cap idmapped io_uring mount perms rw unlink · line 18
Quoted 1 line
tests/generic/633 +0
-0echo "Silence is golden"Looks good, although generic/696 and generic/697 probably should be covered too.
Reviewed-by David Disseldorp <[email protected]>
Thanks David points out that:)
Hi Anthony, if you'd like to fix missed "_require_idmapped_mounts", could you help to fix above two cases together. With that change: