The selinux shared tests
  • Shell 57.1%
  • Makefile 23.9%
  • C 18.5%
  • Python 0.4%
  • Perl 0.1%
Find a file
Petr Lautrbach b1adfa9c2b selinux-policy/policy-rpm-macros: Use our version
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
2025-03-10 16:41:43 +01:00
.fmf Update metadata to the list of approved attributes 2018-06-12 14:56:06 +02:00
checkpolicy make the upstream tests up-to-date 2024-04-30 14:19:57 +00:00
kernel kernel/selinux-testsuite: apply patch to fix hang on CS10 2025-01-31 16:26:12 +01:00
libselinux improve failing tests and add missing nitrate metadata 2025-01-13 12:59:22 +00:00
libsemanage increase the duration of tests which timed out 2025-02-24 15:34:53 +01:00
libsepol improve failing tests and add missing nitrate metadata 2025-01-13 12:59:22 +00:00
mcstrans move reliable downstream tests to upstream repo 2023-04-11 18:10:56 +02:00
other improve the failing tests 2024-05-18 11:21:13 +02:00
plans do not run broken tests in tier plans 2024-04-29 08:39:33 +00:00
policycoreutils setsebool: Do not test aliases for non-existing booleans 2025-03-10 12:20:06 +01:00
selinux-policy selinux-policy/policy-rpm-macros: Use our version 2025-03-10 16:41:43 +01:00
setools mark tests which are failing on RHEL-10 2024-09-12 15:53:29 +02:00
main.fmf clean up the tests metadata 2024-03-18 15:12:13 +00:00
README.md Improve README 2024-07-10 08:57:28 +00:00

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