The selinux shared tests
- Shell 57.1%
- Makefile 23.9%
- C 18.5%
- Python 0.4%
- Perl 0.1%
Recent virt-install testing with various USB devices revealed SELinux denials which are triggered when the virtqemud process executes the udevadm command. The TC reproduces the situation. In order to support this functionality, I believe that SELinux policy should allow the execution and transition to the udev_t domain. The TC looks for appropriate policy rules and file context patterns. The TC covers RHEL-236185. |
||
|---|---|---|
| .fmf | ||
| checkpolicy | ||
| kernel | ||
| libselinux | ||
| libsemanage | ||
| libsepol | ||
| mcstrans | ||
| other | ||
| plans | ||
| policycoreutils | ||
| selinux-policy | ||
| setools | ||
| setroubleshoot/independent-on-initscripts | ||
| 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.
Gating Guidelines
Test tiers define a test's priority for our gating process.
tier: 1: Critical tests that must pass for any code merge.tier: 2: Important but non-critical tests.tier: 3: Non-critical tests.
All other tier metadata (e.g., tag:Tier1) is now deprecated.
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