libselinux/tests/tests.yml

66 lines
1.4 KiB
YAML
Raw Normal View History

---
# Test to run in classic context
- 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: libselinux"
required_packages:
- libselinux
- libselinux-devel
- libselinux-utils
- glibc
- gcc
- attr
- strace
- audit
- e2fsprogs
- git
- grep
- checkpolicy
- libsemanage
- libsepol
- libsepol-devel
- policycoreutils
- policycoreutils-python-utils
- selinux-policy
- selinux-policy-devel
- selinux-policy-minimum
- selinux-policy-mls
- selinux-policy-targeted
- setools-console
# Tests to run inside a container
- hosts: localhost
roles:
- role: standard-test-beakerlib
tags:
- container
repositories:
- repo: "https://src.fedoraproject.org/tests/selinux.git"
dest: "selinux"
tests:
- selinux/libselinux/realpath_not_final-function
required_packages:
- libselinux
- libselinux-devel
- glibc
- gcc
# Tests to run for Atomic Host
- hosts: localhost
roles:
- role: standard-test-beakerlib
tags:
- atomic
repositories:
- repo: "https://src.fedoraproject.org/tests/selinux.git"
dest: "selinux"
tests:
- selinux/libselinux/getsebool
- selinux/libselinux/setenforce