selinux/policycoreutils
Ondrej Mosnacek c3dd00f4bc
semodule-rebuild-if-modules-changed: test changing booleans
Extend the test to verify correct behavior when a boolean setting
override is injected. Also add auto-detection of the --refresh /
--rebuild-if-modules-changed command-line option support, which
indicates the expected level of functionality. (And we also need to
ensure that --refresh is used when supported because the other option
may be removed in the future.)

Additionally, we need to work around the fact that the exact binary
policy content can now be different depending on if the optimized code
path has been taken. Do this by toggling a boolean before introducing
injected customizations, thus obtaining the expected policy content for
the case after `semodule --refresh`.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2022-08-02 15:03:48 +02:00
..
booleans convert metadata of all policycoreutils tests to TMT/FMF 2022-04-26 13:18:49 +00:00
CIL-modules-without-compilation avoid testing empty CIL modules 2022-06-07 15:43:51 +00:00
file-contexts convert metadata of all policycoreutils tests to TMT/FMF 2022-04-26 13:18:49 +00:00
fixfiles-F-B-N convert metadata of all policycoreutils tests to TMT/FMF 2022-04-26 13:18:49 +00:00
linux-system-roles.selinux-tests convert metadata of all policycoreutils tests to TMT/FMF 2022-04-26 13:18:49 +00:00
load_policy convert metadata of all policycoreutils tests to TMT/FMF 2022-04-26 13:18:49 +00:00
modules convert metadata of all policycoreutils tests to TMT/FMF 2022-04-26 13:18:49 +00:00
org-selinux-dbus-interfaces convert metadata of all policycoreutils tests to TMT/FMF 2022-04-26 13:18:49 +00:00
restorecon convert metadata of all policycoreutils tests to TMT/FMF 2022-04-26 13:18:49 +00:00
restorecond_pointer_abuse policycoreutils: fix main.fmf file 2022-05-11 04:56:25 +05:30
sctp_test convert metadata of all policycoreutils tests to TMT/FMF 2022-04-26 13:18:49 +00:00
selinux-autorelabel-service convert metadata of all policycoreutils tests to TMT/FMF 2022-04-26 13:18:49 +00:00
selinux-info convert metadata of all policycoreutils tests to TMT/FMF 2022-04-26 13:18:49 +00:00
semanage-imports-port-defs add Makefile to enable runs via STI 2022-08-02 10:00:37 +02:00
semanage-interface convert metadata of all policycoreutils tests to TMT/FMF 2022-04-26 13:18:49 +00:00
semanage-login convert metadata of all policycoreutils tests to TMT/FMF 2022-04-26 13:18:49 +00:00
semanage-permissive-d-problems convert metadata of all policycoreutils tests to TMT/FMF 2022-04-26 13:18:49 +00:00
semanage-port-add-delete-problems convert metadata of all policycoreutils tests to TMT/FMF 2022-04-26 13:18:49 +00:00
semanage-user convert metadata of all policycoreutils tests to TMT/FMF 2022-04-26 13:18:49 +00:00
semodule-l-checksum convert metadata of all policycoreutils tests to TMT/FMF 2022-04-26 13:18:49 +00:00
semodule-rebuild-if-modules-changed semodule-rebuild-if-modules-changed: test changing booleans 2022-08-02 15:03:48 +02:00
sepolicy-generate convert metadata of all policycoreutils tests to TMT/FMF 2022-04-26 13:18:49 +00:00
sestatus convert metadata of all policycoreutils tests to TMT/FMF 2022-04-26 13:18:49 +00:00
setfiles convert metadata of all policycoreutils tests to TMT/FMF 2022-04-26 13:18:49 +00:00
setfiles_binary convert metadata of all policycoreutils tests to TMT/FMF 2022-04-26 13:18:49 +00:00
setsebool convert metadata of all policycoreutils tests to TMT/FMF 2022-04-26 13:18:49 +00:00
spaces-in-fcontext-patterns test how semanage handles spaces in fcontext patterns 2022-07-15 13:27:05 +00:00