pacemaker  2.1.0-7c3f660
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

#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

int main ( int  argc,
char **  argv 
)

Definition at line 90 of file pcmk__cmdline_preproc_test.c.