]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
generic/645: add _require_chown
authorYuezhang Mo <Yuezhang.Mo@sony.com>
Wed, 28 May 2025 09:15:29 +0000 (17:15 +0800)
committerZorro Lang <zlang@kernel.org>
Fri, 6 Jun 2025 01:55:44 +0000 (09:55 +0800)
This test uses chown to set GID and UID, which requires chown
support, so add _require_chown to check for chown support.

Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: Friendy Su <friendy.su@sony.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/645

index 068a46a95cc5966b668d2c45313385d73d29dab7..d6eb75e6ba40fa9a3d2b79373be3e33e7d860b97 100755 (executable)
@@ -15,6 +15,7 @@ _begin_fstest auto quick idmapped mount
 
 _require_idmapped_mounts
 _require_test
+_require_chown
 _wants_kernel_commit dacfd001eaf2 \
        "fs/mnt_idmapping.c: Return -EINVAL when no map is written"