pacemaker  2.1.4-dc6eb4362
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 <stdarg.h>
#include <stddef.h>
#include <stdint.h>
#include <setjmp.h>
#include <cmocka.h>
#include <glib.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:
{ \
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 20 of file pcmk__cmdline_preproc_test.c.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 147 of file pcmk__cmdline_preproc_test.c.