psss / tests / selinux

Forked from tests/selinux 6 years ago
Clone

d33212f skip the real scenario if the service is missing

Authored and Committed by mmalik 2 years ago
    skip the real scenario if the service is missing
    
    The systemd-timesyncd service is present on both RHEL-8 and Fedora,
    but may not be present on other RHELs, even though the policy which
    confines the systemd-timesyncd program is present there.
    If the systemd-timesyncd service is not present then the TC checks
    policy definitions only (types, rules, file context patterns etc.)
    If the systemd-timesyncd service is present then the TC will also
    test basic actions of the service (start, restart, status etc.)