The selinux shared tests
- Shell 57.1%
- Makefile 23.9%
- C 18.5%
- Python 0.4%
- Perl 0.1%
https://github.com/fedora-selinux/selinux-policy-macros has not been touched for years and it will obsoleted soon. With this update: - add runtest.sh from fedora-selinux/selinux-policy-macros as this repository and rename it to selinux-policy-macros.runtest.sh - update selinux-policy-macros.runtest.sh to use MACRO_FILE env variable if exists - update runtest.sh to export MACRO_FILE variable so that both tests use the same file - use ssh_sysadm_login instead of zabbix_... boolean as zabbix is in EPEL in RHEL like repositories |
||
|---|---|---|
| .fmf | ||
| checkpolicy | ||
| kernel | ||
| libselinux | ||
| libsemanage | ||
| libsepol | ||
| mcstrans | ||
| other | ||
| plans | ||
| policycoreutils | ||
| selinux-policy | ||
| setools | ||
| main.fmf | ||
| README.md | ||
SELinux tests
This repository contains set of test for SELinux kernel, userspace and policy. Tests are written using beakerlib with TMT Metadata Specification.
Plans
$ tmt plans
Found 5 plans: /plans/ci, /plans/reboot, /plans/tier1, /plans/tier2 and /plans/tier3.
Usage
Run tier1 on localhost:
# tmt run provision -h local prepare plans -n /plans/tier1 discover execute
# tmt run -l report -h display -v