The selinux shared tests
  • Shell 57.1%
  • Makefile 23.9%
  • C 18.5%
  • Python 0.4%
  • Perl 0.1%
Find a file
Milos Malik 386ee4ea46 test if systemd-run works inside systemd-run service
Recently, debugging of unrelated systemd issue revealed that SELinux
prevents a successful execution of systemd-run inside systemd-run
session. The TC reproduces the situation.

In order to support the above-mentioned scenario, I believe that
SELinux policy should allow the dbus-broker to read/write from/to
UNIX stream socket owned by the systemd session. The TC looks for
appropriate policy rules.

The TC covers RHEL-61928 and RHEL-62185.
2024-10-23 08:06:48 +00: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: improve kernel pkg name detection 2024-09-09 11:29:40 +02:00
libselinux Set time duration for tests seliabel-functions and selinux_restorecon-functions 2024-09-30 09:54:43 +00:00
libsemanage move more downstream tests to upstream repository 2024-04-17 11:04:50 +02:00
libsepol fix the shell script name executed in the Makefile 2022-11-04 12:04:33 +01: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 add missing metadata to the tests 2024-07-10 17:18:28 +00:00
selinux-policy test if systemd-run works inside systemd-run service 2024-10-23 08:06:48 +00: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