HomeClusterLabs Projects

Refactor: libcrmcommon: Don't reuse doc in pcmk__xc_create() unit test
06cc94adcae6Unpublished

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

Refactor: libcrmcommon: Don't reuse doc in pcmk__xc_create() unit test

If we simply assume that pcmk__xml_new_doc() returns non-NULL (as it
currently must because it asserts on allocation error), then it's simple
to make assert_comment() more self-contained.

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

Details

Provenance
nrwahl2Authored on Mar 13 2025, 2:48 PM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.