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>
46 lines
1.6 KiB
YAML
46 lines
1.6 KiB
YAML
---
|
|
# Tests to run in a classic environment
|
|
- hosts: localhost
|
|
roles:
|
|
- role: standard-test-beakerlib
|
|
tags:
|
|
- classic
|
|
tests:
|
|
- CIL-modules-without-compilation
|
|
- semanage-interface
|
|
- semanage-login
|
|
- semanage-permissive-d-problems
|
|
- semanage-port-add-delete-problems
|
|
- semanage-user
|
|
- sestatus
|
|
required_packages:
|
|
- policycoreutils # Required by all tests
|
|
- policycoreutils-devel # Required by sepolicy-generate
|
|
- rpm-build # Required by sepolicy-generate
|
|
- policycoreutils-python-utils # Required by semanage tests
|
|
- grep # Required by semanage tests
|
|
- selinux-policy-minimum # Required by semanage tests
|
|
- selinux-policy-mls # Required by semanage tests
|
|
- selinux-policy-targeted # Required by semanage tests
|
|
- shadow-utils # Required by semanage tests
|
|
- selinux-policy-devel # Required by semanage tests
|
|
- coreutils # Required by semanage tests
|
|
- man # Required by semanage tests
|
|
- setools-console # Required by semanage tests
|
|
- libselinux # Required by semanage tests
|
|
- libselinux-utils # Required by semanage tests
|
|
- audit # Required by audit test
|
|
- e2fsprogs # Required by restorecon test
|
|
|
|
# Tests for atomic host
|
|
- hosts: localhost
|
|
tags:
|
|
- atomic
|
|
# no compatible tests
|
|
|
|
# Tests for docker container
|
|
- hosts: localhost
|
|
tags:
|
|
- container
|
|
# no compatible tests
|