HomeClusterLabs Projects

Test: libcrmcommon: Test pcmk__parse_bool() more thoroughly
3051eb210f2dUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

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
rPf1f918d144e1: Refactor: libcrmcommon: New pcmk__parse_bool()
Branches
Unknown
Tags
Unknown

Event Timeline