HomeClusterLabs Projects

Test: libcrmcommon: Add a cmocka wrapper for getpwnam_r.

Description

Test: libcrmcommon: Add a cmocka wrapper for getpwnam_r.

This is used by crm_user_lookup and has a variety of failure modes, so
we might as well mock it.

Details

Provenance
clumensAuthored on Feb 3 2022, 11:31 AM
Parents
rPb1c01bd5c2c7: Low: libcrmcommon: Don't use dynamic memory for the regex_t.
Branches
Unknown
Tags
Unknown

Event Timeline