selinux/policycoreutils/setsebool
Petr Lautrbach d55f7ad6ae setsebool: Do not test aliases for non-existing booleans
In CentOS Stream 10 some modules were moved from selinux-policy to
selinux-policy-epel which is available only in EPEL. It caused problem
with non-existing booleans and their aliases. With this change, an alias
is not checked when a new boolean does not exist.

Fixes:
    Error getting active value for puppet_manage_all_files
    [   PASS   ] :: Command 'getsebool puppet_manage_all_files 2>&1 | tee /tmp/tmp.nx2NlWq1zd' (Expected 0, got 0)
    [  BEGIN   ] :: Running 'getsebool puppetagent_manage_all_files 2>&1 | tee -a /tmp/tmp.nx2NlWq1zd'
    Error getting active value for puppetagent_manage_all_files
    [   PASS   ] :: Command 'getsebool puppetagent_manage_all_files 2>&1 | tee -a /tmp/tmp.nx2NlWq1zd' (Expected 0, got 0)
    [  BEGIN   ] :: Running 'uniq -c /tmp/tmp.nx2NlWq1zd | grep '2 ''
    [   FAIL   ] :: Command 'uniq -c /tmp/tmp.nx2NlWq1zd | grep '2 '' (Expected 0, got 1)
2025-03-10 12:20:06 +01:00
..
main.fmf convert metadata of all policycoreutils tests to TMT/FMF 2022-04-26 13:18:49 +00:00
Makefile Add tests from https://src.fedoraproject.org/rpms/policycoreutils/blob/master/f/tests 2018-02-14 13:41:13 +01:00
PURPOSE Add tests from https://src.fedoraproject.org/rpms/policycoreutils/blob/master/f/tests 2018-02-14 13:41:13 +01:00
runtest.sh setsebool: Do not test aliases for non-existing booleans 2025-03-10 12:20:06 +01:00