pacemaker  2.1.1-52dc28db4
Scalable High-Availability cluster resource manager
Macros | Functions
pcmk__cmdline_preproc_test.c File Reference
#include <crm_internal.h>
#include <crm/common/cmdline_internal.h>
Include dependency graph for pcmk__cmdline_preproc_test.c:

Go to the source code of this file.

Macros

#define LISTS_EQ(a, b)
 

Functions

int main (int argc, char **argv)
 

Macro Definition Documentation

◆ LISTS_EQ

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

Definition at line 13 of file pcmk__cmdline_preproc_test.c.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 140 of file pcmk__cmdline_preproc_test.c.