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
27 # remove previous $seqres.full before test
30 # real QA test starts here
36 _require_scratch_richacl
39 _scratch_mkfs_richacl >> $seqres.full
48 $SETRICHACL_PROG --set 'everyone@:rwp::allow' x
56 # Note that unlike how the test cases look at first sight, we do *not* require
57 # a richacl-enabled version of ls here ...
60 $SETRICHACL_PROG --set 'everyone@:rwpxd:fd:allow' sub
62 $GETFATTR_PROG -m system\.richacl sub
66 $GETFATTR_PROG -m system\.richacl sub
71 $GETRICHACL_PROG sub/f
75 $GETRICHACL_PROG sub/sub2
79 $GETRICHACL_PROG sub/sub3