summaryrefslogtreecommitdiff
path: root/tests/generic/689
blob: 6aff9695c99c539877063b9252259a4a0756d8ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#! /bin/bash
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2022 Christian Brauner (Microsoft).  All Rights Reserved.
#
# FS QA Test No. 689
#
# Test that setting POSIX ACLs in userns-mountable filesystems works.
#
# Regression test for commit:
#
# 705191b03d50 ("fs: fix acl translation")
#
. ./common/preamble
_begin_fstest auto quick perms idmapped

# Import common functions.
. ./common/filter

# real QA test starts here

_supported_fs generic
_require_test
_require_idmapped_mounts
_require_user fsgqa
_require_group fsgqa

echo "Silence is golden"

$here/src/vfs/vfstest --test-setxattr-fix-705191b03d50 \
	--device "$TEST_DEV" --mount "$TEST_DIR" --fstype "$FSTYP"

status=$?
exit