23 set_attr(
void **state)
37 main(
int argc,
char **argv)
39 const struct CMUnitTest tests[] = {
40 cmocka_unit_test(set_attr),
43 cmocka_set_message_output(CM_OUTPUT_TAP);
44 return cmocka_run_group_tests(tests, NULL, NULL);
#define XML_BOOLEAN_FALSE
void pcmk__xe_set_bool_attr(xmlNodePtr node, const char *name, bool value)
xmlNode * string2xml(const char *input)
const char * crm_element_value(const xmlNode *data, const char *name)
Retrieve the value of an XML attribute.
void free_xml(xmlNode *child)
int main(int argc, char **argv)