HomeClusterLabs Projects

Test: libcrmcommon: Add unit tests for pcmk__xe_add_node.

Description

Test: libcrmcommon: Add unit tests for pcmk__xe_add_node.

Also, make it assert if passed NULL for the xml node. The functions it
calls perform this check already, but we might as well check again
higher up and save a couple function calls. Plus, this allows us to add
a test for making sure it asserts properly.

Details

Provenance
clumensAuthored on Dec 18 2023, 3:34 PM
Parents
rP99bd528c83d4: Merge pull request #3293 from kgaillot/T137
Branches
Unknown
Tags
Unknown