HomeClusterLabs Projects

Test: cts: service counts as enabled only if it's explicitly enabled

Description

Test: cts: service counts as enabled only if it's explicitly enabled

With "systemctl is-enabled", we should check if the service is
explicitly "enabled" instead of the return code. For example it returns
0 if the service is "static" or "indirect", but they don't really count
as "enabled".

This also functionizes the check part for further use.

Details

Provenance
gao-yanAuthored on Jan 18 2019, 11:02 AM
kgaillotCommitted on Jan 30 2019, 4:01 PM
Parents
rPbe385196c2cf: Test: cts-exec: still run the tests for the other resource classes even without…
Branches
Unknown
Tags
Unknown

Event Timeline