HomeClusterLabs Projects

Test: libcrmcommon: Check expectations in mocked getenv()

Description

Test: libcrmcommon: Check expectations in mocked getenv()

This allows us to check the argument passed to __wrap_getenv(). If we
don't care, we can always use expect_any().

All our expect_* function choices are here:

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

Details

Provenance
nrwahl2Authored on Aug 15 2022, 2:09 AM
Parents
rPf8931800938e: Merge pull request #2800 from clumens/output-testing
Branches
Unknown
Tags
Unknown