HomeClusterLabs Projects

Test: libcrmcommon: Add a mock wrapper for fopen.

Description

Test: libcrmcommon: Add a mock wrapper for fopen.

This works exactly like other mocked functions, except here you need to
provide errno and the return value before calling it.

Details

Provenance
clumensAuthored on Aug 11 2022, 9:36 AM
Parents
rP7635b706a23b: Low: libcrmcommon: Free the output object if fopen fails.
Branches
Unknown
Tags
Unknown