2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2021 Christian Brauner. All Rights Reserved.
7 # This is a test for the fix
8 # commit 968219708108 ("fs: handle circular mappings correctly")
9 # in Linux. It verifies that setattr for {g,u}id work correctly.
12 _begin_fstest auto attr cap idmapped mount perms
14 # Import common functions.
17 # real QA test starts here
20 _require_idmapped_mounts
27 echo "Silence is golden"
29 $here/src/idmapped-mounts/idmapped-mounts --test-setattr-fix-968219708108 \
30 --device "$TEST_DEV" --mount "$TEST_DIR" --fstype "$FSTYP"