HomeClusterLabs Projects

Test: libcrmcommon: Fix test coverage for crm_parse_agent_spec.

Description

Test: libcrmcommon: Fix test coverage for crm_parse_agent_spec.

By passing NULL for all the output parameters every time, we were
bailing out at the CRM_CHECK at the beginning of the function and
avoiding testing various other error paths. This brings coverage of
this file up to 100%.

Details

Provenance
clumensAuthored on Jun 6 2023, 2:52 PM
Parents
rP0e6936f2d13b: Test: libcrmcommon: Test some corner cases in pcmk__add_scores.
Branches
Unknown
Tags
Unknown