3d37582bc2
There is a new feature in the Standard Test Roles which allows to use an FMF filter instead of listing all tests manually. All tier one selinux tests are selected as well, thus extending requires.
49 lines
1.7 KiB
YAML
49 lines
1.7 KiB
YAML
---
|
|
# Tests to run in a classic environment
|
|
- hosts: localhost
|
|
roles:
|
|
- role: standard-test-beakerlib
|
|
tags:
|
|
- classic
|
|
repositories:
|
|
- repo: "https://src.fedoraproject.org/tests/selinux.git"
|
|
dest: "selinux"
|
|
fmf_filter: "tier: 1 | component: policycoreutils"
|
|
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
|
|
- ansible
|
|
- git
|
|
- gcc
|
|
- checkpolicy
|
|
- libsemanage
|
|
- libsepol
|
|
- libsepol-devel
|
|
|
|
# Tests for atomic host
|
|
- hosts: localhost
|
|
tags:
|
|
- atomic
|
|
# no compatible tests
|
|
|
|
# Tests for docker container
|
|
- hosts: localhost
|
|
tags:
|
|
- container
|
|
# no compatible tests
|