g_assert_true 26 lib/common/tests/agents/pcmk_stonith_param_test.c g_assert_true(pcmk_stonith_param(PCMK_STONITH_ACTION_LIMIT)); g_assert_true 27 lib/common/tests/agents/pcmk_stonith_param_test.c g_assert_true(pcmk_stonith_param(PCMK_STONITH_DELAY_BASE)); g_assert_true 28 lib/common/tests/agents/pcmk_stonith_param_test.c g_assert_true(pcmk_stonith_param(PCMK_STONITH_DELAY_MAX)); g_assert_true 29 lib/common/tests/agents/pcmk_stonith_param_test.c g_assert_true(pcmk_stonith_param(PCMK_STONITH_HOST_ARGUMENT)); g_assert_true 30 lib/common/tests/agents/pcmk_stonith_param_test.c g_assert_true(pcmk_stonith_param(PCMK_STONITH_HOST_CHECK)); g_assert_true 31 lib/common/tests/agents/pcmk_stonith_param_test.c g_assert_true(pcmk_stonith_param(PCMK_STONITH_HOST_LIST)); g_assert_true 32 lib/common/tests/agents/pcmk_stonith_param_test.c g_assert_true(pcmk_stonith_param(PCMK_STONITH_HOST_MAP)); g_assert_true 33 lib/common/tests/agents/pcmk_stonith_param_test.c g_assert_true(pcmk_stonith_param(PCMK_STONITH_PROVIDES)); g_assert_true 34 lib/common/tests/agents/pcmk_stonith_param_test.c g_assert_true(pcmk_stonith_param(PCMK_STONITH_STONITH_TIMEOUT)); g_assert_true 44 lib/common/tests/agents/pcmk_stonith_param_test.c g_assert_true(pcmk_stonith_param("pcmk_on_action")); g_assert_true 45 lib/common/tests/agents/pcmk_stonith_param_test.c g_assert_true(pcmk_stonith_param("pcmk_on_timeout")); g_assert_true 46 lib/common/tests/agents/pcmk_stonith_param_test.c g_assert_true(pcmk_stonith_param("pcmk_on_retries")); g_assert_true 17 lib/common/tests/flags/pcmk_all_flags_set_test.c g_assert_true(pcmk_all_flags_set(0x00f, 0x003)); g_assert_true 20 lib/common/tests/flags/pcmk_all_flags_set_test.c g_assert_true(pcmk_all_flags_set(0x000, 0x000)); g_assert_true 21 lib/common/tests/flags/pcmk_all_flags_set_test.c g_assert_true(pcmk_all_flags_set(0x00f, 0x000)); g_assert_true 27 lib/common/tests/flags/pcmk_all_flags_set_test.c g_assert_true(pcmk_is_set(0x00f, 0x001)); g_assert_true 18 lib/common/tests/flags/pcmk_any_flags_set_test.c g_assert_true(pcmk_any_flags_set(0x00f, 0x001)); g_assert_true 20 lib/common/tests/flags/pcmk_any_flags_set_test.c g_assert_true(pcmk_any_flags_set(0x00f, 0x011)); g_assert_true 22 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("Fencing_monitor_60000", &rsc, &ty, &ms)); g_assert_true 37 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("ClusterIP:0_start_0", &rsc, &ty, &ms)); g_assert_true 44 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("imagestoreclone:1_post_notify_stop_0", &rsc, &ty, &ms)); g_assert_true 59 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("httpd-bundle-0_monitor_30000", &rsc, &ty, &ms)); g_assert_true 66 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("httpd-bundle-ip-192.168.122.132_start_0", &rsc, &ty, &ms)); g_assert_true 81 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("vm_migrate_from_0", &rsc, &ty, &ms)); g_assert_true 88 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("vm_migrate_to_0", &rsc, &ty, &ms)); g_assert_true 95 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("vm_idcc_devel_migrate_to_0", &rsc, &ty, &ms)); g_assert_true 110 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("rsc_drbd_7788:1_post_notify_start_0", &rsc, &ty, &ms)); g_assert_true 117 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("rabbitmq-bundle-clone_pre_notify_stop_0", &rsc, &ty, &ms)); g_assert_true 124 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("post_notify_start_0", &rsc, &ty, &ms)); g_assert_true 138 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("Fencing_monitor_60000", NULL, &ty, &ms)); g_assert_true 150 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("Fencing_monitor_60000", &rsc, NULL, &ms)); g_assert_true 162 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("Fencing_monitor_60000", &rsc, &ty, NULL)); g_assert_true 26 lib/common/tests/strings/pcmk__char_in_any_str_test.c g_assert_true(pcmk__char_in_any_str('\0', "xxx", "yyy", NULL)); g_assert_true 27 lib/common/tests/strings/pcmk__char_in_any_str_test.c g_assert_true(pcmk__char_in_any_str('\0', "", NULL)); g_assert_true 33 lib/common/tests/strings/pcmk__char_in_any_str_test.c g_assert_true(pcmk__char_in_any_str('x', "aaa", "bbb", "xxx", NULL)); g_assert_true 34 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_true(pcmk__strcase_any_of("xxx", "aaa", "bbb", "xxx", NULL)); g_assert_true 35 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_true(pcmk__str_any_of("xxx", "aaa", "bbb", "xxx", NULL)); g_assert_true 36 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_true(pcmk__strcase_any_of("XXX", "aaa", "bbb", "xxx", NULL)); g_assert_true 31 lib/common/tests/strings/pcmk__str_in_list_test.c g_assert_true(pcmk__str_in_list(list, NULL, pcmk__str_null_matches)); g_assert_true 44 lib/common/tests/strings/pcmk__str_in_list_test.c g_assert_true(pcmk__str_in_list(list, "xxx", pcmk__str_none)); g_assert_true 45 lib/common/tests/strings/pcmk__str_in_list_test.c g_assert_true(pcmk__str_in_list(list, "yyy", pcmk__str_none)); g_assert_true 46 lib/common/tests/strings/pcmk__str_in_list_test.c g_assert_true(pcmk__str_in_list(list, "XXX", pcmk__str_casei)); g_assert_true 47 lib/common/tests/strings/pcmk__str_in_list_test.c g_assert_true(pcmk__str_in_list(list, "", pcmk__str_none)); g_assert_true 48 lib/common/tests/strings/pcmk__str_in_list_test.c g_assert_true(pcmk__str_in_list(list, NULL, pcmk__str_none)); g_assert_true 49 lib/common/tests/strings/pcmk__str_in_list_test.c g_assert_true(pcmk__str_in_list(list, NULL, pcmk__str_null_matches)); g_assert_true 77 lib/common/tests/strings/pcmk__str_in_list_test.c g_assert_true(pcmk__str_in_list(list, "xxx", pcmk__str_none)); g_assert_true 78 lib/common/tests/strings/pcmk__str_in_list_test.c g_assert_true(pcmk__str_in_list(list, "XXX", pcmk__str_casei)); g_assert_true 79 lib/common/tests/strings/pcmk__str_in_list_test.c g_assert_true(pcmk__str_in_list(list, "yyy", pcmk__str_none)); g_assert_true 80 lib/common/tests/strings/pcmk__str_in_list_test.c g_assert_true(pcmk__str_in_list(list, "YYY", pcmk__str_casei)); g_assert_true 81 lib/common/tests/strings/pcmk__str_in_list_test.c g_assert_true(pcmk__str_in_list(list, "zzz", pcmk__str_none)); g_assert_true 82 lib/common/tests/strings/pcmk__str_in_list_test.c g_assert_true(pcmk__str_in_list(list, "ZZZ", pcmk__str_casei)); g_assert_true 22 lib/common/tests/strings/pcmk__strcmp_test.c g_assert_true(pcmk__str_eq(s1, s1, pcmk__str_none)); g_assert_true 33 lib/common/tests/strings/pcmk__strcmp_test.c g_assert_true(pcmk__str_eq(s1, NULL, pcmk__str_null_matches)); g_assert_true 56 lib/common/tests/strings/pcmk__strcmp_test.c g_assert_true(pcmk__str_eq(s1, s2, pcmk__str_casei)); g_assert_true 67 lib/common/tests/strings/pcmk__strcmp_test.c g_assert_true(pcmk__str_eq(s1, "a..d", pcmk__str_regex)); g_assert_true 71 lib/common/tests/strings/pcmk__strcmp_test.c g_assert_true(pcmk__str_eq(s2, "a..d", pcmk__str_regex|pcmk__str_casei)); g_assert_true 19 lib/common/tests/utils/pcmk_str_is_infinity_test.c g_assert_true(pcmk_str_is_infinity("INFINITY")); g_assert_true 20 lib/common/tests/utils/pcmk_str_is_infinity_test.c g_assert_true(pcmk_str_is_infinity("+INFINITY")); g_assert_true 19 lib/common/tests/utils/pcmk_str_is_minus_infinity_test.c g_assert_true(pcmk_str_is_minus_infinity("-INFINITY"));