test: make TEST-06-SELINUX work with the refpolicy and beef it up a bit
authorFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 14 Nov 2023 11:53:51 +0000 (12:53 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 14 Nov 2023 17:54:16 +0000 (18:54 +0100)
commit5ef964f88c9702656e848d5757c48dd7ddd03f11
tree796bf82e14135338d225af4def98ac658599add6
parentbbe865b2feea548ea090c30ecf9d5087b049c86b
test: make TEST-06-SELINUX work with the refpolicy and beef it up a bit

Currently the test works only with policy shipped by Fedora, which makes
it pretty much useless in most of our CIs. Let's drop the custom module
and make the test more generic, so it works with the refpolicy as well,
which should allow us to run it on Arch and probably even in Ubuntu CI.
test/TEST-06-SELINUX/systemd_test.fc [deleted file]
test/TEST-06-SELINUX/systemd_test.if [deleted file]
test/TEST-06-SELINUX/systemd_test.te [deleted file]
test/TEST-06-SELINUX/test.sh
test/test-functions
test/units/testsuite-06.sh