HomeClusterLabs Projects

Fix: tests: Use g_assert_true, g_assert_false, and g_assert_null.

Description

Fix: tests: Use g_assert_true, g_assert_false, and g_assert_null.

These macros were defined in glib 2.38, which we can't use and it seems
like we won't be able to use it any time soon. Luckily, it's easy
enough to define these in terms of other glib assertion macros in the
case we're on an older system. That's basically what we were already
doing. Now we'll only be doing it some of the time instead of all of
the time.

Details

Provenance
clumensAuthored on Nov 4 2020, 2:13 PM
Parents
rP2cd5cb163e8a: Merge pull request #2164 from kgaillot/rhbz1872376
Branches
Unknown
Tags
Unknown

Event Timeline