2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2016 Red Hat, Inc. All Rights Reserved.
10 seqres=$RESULT_DIR/$seq
11 echo "QA output created by $seq"
15 status=1 # failure is the default!
16 trap "_cleanup; exit \$status" 0 1 2 3 15
24 # get standard environment, filters and checks
28 # remove previous $seqres.full before test
31 # real QA test starts here
37 _require_scratch_richacl
40 _scratch_mkfs_richacl >> $seqres.full
49 $SETRICHACL_PROG --set 'everyone@:rwp::allow' x
57 # Note that unlike how the test cases look at first sight, we do *not* require
58 # a richacl-enabled version of ls here ...
61 $SETRICHACL_PROG --set 'everyone@:rwpxd:fd:allow' sub
63 _getfattr -m system\.richacl sub
67 _getfattr -m system\.richacl sub
72 $GETRICHACL_PROG sub/f
76 $GETRICHACL_PROG sub/sub2
80 $GETRICHACL_PROG sub/sub3