pacemaker  2.1.5-b7adf64e51
Scalable High-Availability cluster resource manager
Macros
pcmk__cmdline_preproc_test.c File Reference
#include <crm_internal.h>
#include <crm/common/unittest_internal.h>
#include <crm/common/cmdline_internal.h>
#include <glib.h>
#include <stdint.h>
Include dependency graph for pcmk__cmdline_preproc_test.c:

Go to the source code of this file.

Macros

#define LISTS_EQ(a, b)
 

Macro Definition Documentation

◆ LISTS_EQ

#define LISTS_EQ (   a,
 
)
Value:
{ \
assert_int_equal(g_strv_length((gchar **) (a)), g_strv_length((gchar **) (b))); \
for (int i = 0; i < g_strv_length((a)); i++) { \
assert_string_equal((a)[i], (b)[i]); \
} \
}

Definition at line 18 of file pcmk__cmdline_preproc_test.c.