HomeClusterLabs Projects

Test: libcrmcommon: Test pcmk__parse_bool() more thoroughly

Description

Test: libcrmcommon: Test pcmk__parse_bool() more thoroughly

Functionize the repeated code, test everything with both true and false
as the initial value of result, test everything with NULL result
argument, and ensure result is not changed upon error.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Mar 23 2025, 1:22 AM
Parents
rPfe5d903e05f0: Refactor: libcrmcommon: New pcmk__parse_bool()
Branches
Unknown
Tags
Unknown