From: Taylor Jackson Date: Wed, 17 Apr 2024 19:34:24 +0000 (+0000) Subject: generic/645: Add hint for expected failure with old kernel X-Git-Tag: v2024.04.28~20 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6455e684efd189e42d576628a17a5f7d6ada8a85;p=xfstests-dev.git generic/645: Add hint for expected failure with old kernel The following hint is added to reflect that any old kernel without kernel commit dacfd001eaf2 (“fs/mnt_idmapping.c: Return -EINVAL when no map is written”) is expected to fail this generic 645 test since without that commit, mount_setattr won’t return EINVAL when attempting to create an idmapped mount using a user namespace with no mappings. Reported-by: Zorro Lang Signed-off-by: Taylor Jackson Reviewed-by: Zorro Lang Reviewed-by: Christian Brauner Signed-off-by: Zorro Lang --- diff --git a/tests/generic/645 b/tests/generic/645 index 556d2450..249e9cc0 100755 --- a/tests/generic/645 +++ b/tests/generic/645 @@ -17,6 +17,8 @@ _begin_fstest auto quick idmapped mount _supported_fs generic _require_idmapped_mounts _require_test +_wants_kernel_commit dacfd001eaf2 \ + "fs/mnt_idmapping.c: Return -EINVAL when no map is written" echo "Silence is golden"