HomeClusterLabs Projects

Test: libcrmcommon: Test pcmk__parse_bool() more thoroughly
677c639b1367Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or 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

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.