4b74ff6678
The playbook includes Tier1 level test cases that have been tested in the following contexts and is passing reliably on Classic. Test logs are stored in the Artifacts directory. The following steps are used to execute the tests using the standard test interface: Classic sudo ANSIBLE_INVENTORY=$(test -e inventory && echo inventory || echo /usr/share/ansible/inventory) TEST_SUBJECTS="" TEST_ARTIFACTS=$PWD/artifacts ansible-playbook --tags classic tests.yml It's based on https://src.fedoraproject.org/rpms/policycoreutils/pull-request/1 from Merlin Mathesius <merlinm@redhat.com>
12 lines
101 B
Plaintext
12 lines
101 B
Plaintext
module testpolicy 1.0;
|
|
|
|
type xyz_t;
|
|
role xyz_r;
|
|
|
|
require {
|
|
type xyz_t;
|
|
}
|
|
|
|
role xyz_r types xyz_t;
|
|
|