libselinux/tests/tests.yml

60 lines
1.4 KiB
YAML

---
# 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"
tests:
- selinux/libselinux/getsebool
- selinux/libselinux/realpath_not_final-function
- selinux/libselinux/selabel-functions
- selinux/libselinux/selinux_boolean_sub-function
- selinux/libselinux/selinux_sestatus-functions
- selinux/libselinux/selinux_set_callback
- selinux/libselinux/selinux_restorecon-functions
- selinux/libselinux/setenforce
required_packages:
- libselinux
- libselinux-devel
- libselinux-utils
- glibc
- gcc
- attr
- strace
- audit
- e2fsprogs
# 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