2017-09-25 17:41:33 +00:00
|
|
|
---
|
|
|
|
# Test to run in classic context
|
|
|
|
- hosts: localhost
|
|
|
|
roles:
|
|
|
|
- role: standard-test-beakerlib
|
|
|
|
tags:
|
|
|
|
- classic
|
2018-02-14 16:10:44 +00:00
|
|
|
repositories:
|
|
|
|
- repo: "https://src.fedoraproject.org/tests/selinux.git"
|
|
|
|
dest: "selinux"
|
2018-09-20 16:37:40 +00:00
|
|
|
fmf_filter: "tier: 1 | component: libselinux"
|
2017-09-25 17:41:33 +00:00
|
|
|
required_packages:
|
|
|
|
- libselinux
|
|
|
|
- libselinux-devel
|
|
|
|
- libselinux-utils
|
|
|
|
- glibc
|
|
|
|
- gcc
|
|
|
|
- attr
|
|
|
|
- strace
|
|
|
|
- audit
|
|
|
|
- e2fsprogs
|
2018-09-20 16:37:40 +00:00
|
|
|
- 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
|
2017-09-25 17:41:33 +00:00
|
|
|
|
|
|
|
# Tests to run inside a container
|
|
|
|
- hosts: localhost
|
|
|
|
roles:
|
|
|
|
- role: standard-test-beakerlib
|
|
|
|
tags:
|
|
|
|
- container
|
2018-02-14 16:10:44 +00:00
|
|
|
repositories:
|
|
|
|
- repo: "https://src.fedoraproject.org/tests/selinux.git"
|
|
|
|
dest: "selinux"
|
2017-09-25 17:41:33 +00:00
|
|
|
tests:
|
2018-02-14 16:10:44 +00:00
|
|
|
- selinux/libselinux/realpath_not_final-function
|
2017-09-25 17:41:33 +00:00
|
|
|
required_packages:
|
|
|
|
- libselinux
|
|
|
|
- libselinux-devel
|
|
|
|
- glibc
|
|
|
|
- gcc
|
|
|
|
|
|
|
|
# Tests to run for Atomic Host
|
|
|
|
- hosts: localhost
|
|
|
|
roles:
|
|
|
|
- role: standard-test-beakerlib
|
|
|
|
tags:
|
|
|
|
- atomic
|
2018-02-14 16:10:44 +00:00
|
|
|
repositories:
|
|
|
|
- repo: "https://src.fedoraproject.org/tests/selinux.git"
|
|
|
|
dest: "selinux"
|
2017-09-25 17:41:33 +00:00
|
|
|
tests:
|
2018-02-14 16:10:44 +00:00
|
|
|
- selinux/libselinux/getsebool
|
|
|
|
- selinux/libselinux/setenforce
|