apeetham / tests / selinux

Forked from tests/selinux 3 years ago
Clone

fd0fe0e skip the real scenario if the service is missing

1 file Authored by mmalik 2 years ago, Committed by apeetham 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.)