HomeClusterLabs Projects

Test: libcrmcommon: Add unit tests for pcmk__starts_with.

Description

Test: libcrmcommon: Add unit tests for pcmk__starts_with.

Note that how this function is currently written, an empty prefix ("",
not NULL) will match any string. I've added a test case for this.

Details

Provenance
clumensAuthored on Aug 2 2021, 2:37 PM
Parents
rP1fdd6d982fa0: Test: libcrmcommon: Add unit tests for crm_is_true.
Branches
Unknown
Tags
Unknown

Event Timeline