assert_true 30 lib/common/tests/acl/pcmk__is_user_in_group_test.c assert_true(pcmk__is_user_in_group("user0", "grp0")); assert_true 20 lib/common/tests/acl/pcmk_acl_required_test.c assert_true(pcmk_acl_required("123")); assert_true 56 lib/common/tests/acl/xml_acl_denied_test.c assert_true(xml_acl_denied(test_xml)); assert_true 56 lib/common/tests/acl/xml_acl_enabled_test.c assert_true(xml_acl_enabled(test_xml)); assert_true 23 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("Fencing_monitor_60000", &rsc, &ty, &ms)); assert_true 31 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("R_monitor_100000", &rsc, &ty, &ms)); assert_true 39 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("R_A_0", &rsc, &ty, &ms)); assert_true 54 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("__monitor_1000", &rsc, &ty, &ms)); assert_true 61 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("___migrate_from_0", &rsc, &ty, &ms)); assert_true 68 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("____pre_notify_stop_0", &rsc, &ty, &ms)); assert_true 83 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("ClusterIP:0_start_0", &rsc, &ty, &ms)); assert_true 90 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("imagestoreclone:1_post_notify_stop_0", &rsc, &ty, &ms)); assert_true 105 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("httpd-bundle-0_monitor_30000", &rsc, &ty, &ms)); assert_true 112 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("httpd-bundle-ip-192.168.122.132_start_0", &rsc, &ty, &ms)); assert_true 127 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("vm_migrate_from_0", &rsc, &ty, &ms)); assert_true 134 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("vm_migrate_to_0", &rsc, &ty, &ms)); assert_true 141 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("vm_idcc_devel_migrate_to_0", &rsc, &ty, &ms)); assert_true 156 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("rsc_drbd_7788:1_post_notify_start_0", &rsc, &ty, &ms)); assert_true 163 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("rabbitmq-bundle-clone_pre_notify_stop_0", &rsc, &ty, &ms)); assert_true 170 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("post_notify_start_0", &rsc, &ty, &ms)); assert_true 177 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("r_confirmed-post_notify_start_0", assert_true 192 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("Fencing_monitor_60000", NULL, &ty, &ms)); assert_true 204 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("Fencing_monitor_60000", &rsc, NULL, &ms)); assert_true 216 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("Fencing_monitor_60000", &rsc, &ty, NULL)); assert_true 21 lib/common/tests/actions/pcmk_is_probe_test.c assert_true(pcmk_is_probe("monitor", 0)); assert_true 38 lib/common/tests/actions/pcmk_xe_is_probe_test.c assert_true(pcmk_xe_is_probe(node)); assert_true 50 lib/common/tests/actions/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 59 lib/common/tests/actions/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 63 lib/common/tests/actions/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 76 lib/common/tests/actions/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 80 lib/common/tests/actions/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 89 lib/common/tests/actions/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 93 lib/common/tests/actions/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 110 lib/common/tests/actions/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 114 lib/common/tests/actions/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 131 lib/common/tests/actions/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 135 lib/common/tests/actions/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 25 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param(PCMK_STONITH_ACTION_LIMIT)); assert_true 26 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param(PCMK_STONITH_DELAY_BASE)); assert_true 27 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param(PCMK_STONITH_DELAY_MAX)); assert_true 28 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param(PCMK_STONITH_HOST_ARGUMENT)); assert_true 29 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param(PCMK_STONITH_HOST_CHECK)); assert_true 30 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param(PCMK_STONITH_HOST_LIST)); assert_true 31 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param(PCMK_STONITH_HOST_MAP)); assert_true 32 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param(PCMK_STONITH_PROVIDES)); assert_true 33 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param(PCMK_STONITH_STONITH_TIMEOUT)); assert_true 43 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param("pcmk_on_action")); assert_true 44 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param("pcmk_on_timeout")); assert_true 45 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param("pcmk_on_retries")); assert_true 17 lib/common/tests/flags/pcmk_all_flags_set_test.c assert_true(pcmk_all_flags_set(0x00f, 0x003)); assert_true 20 lib/common/tests/flags/pcmk_all_flags_set_test.c assert_true(pcmk_all_flags_set(0x000, 0x000)); assert_true 21 lib/common/tests/flags/pcmk_all_flags_set_test.c assert_true(pcmk_all_flags_set(0x00f, 0x000)); assert_true 27 lib/common/tests/flags/pcmk_all_flags_set_test.c assert_true(pcmk_is_set(0x00f, 0x001)); assert_true 18 lib/common/tests/flags/pcmk_any_flags_set_test.c assert_true(pcmk_any_flags_set(0x00f, 0x001)); assert_true 20 lib/common/tests/flags/pcmk_any_flags_set_test.c assert_true(pcmk_any_flags_set(0x00f, 0x011)); assert_true 18 lib/common/tests/health/pcmk__validate_health_strategy_test.c assert_true(pcmk__validate_health_strategy("none")); assert_true 19 lib/common/tests/health/pcmk__validate_health_strategy_test.c assert_true(pcmk__validate_health_strategy("None")); assert_true 20 lib/common/tests/health/pcmk__validate_health_strategy_test.c assert_true(pcmk__validate_health_strategy("NONE")); assert_true 21 lib/common/tests/health/pcmk__validate_health_strategy_test.c assert_true(pcmk__validate_health_strategy("NoNe")); assert_true 22 lib/common/tests/health/pcmk__validate_health_strategy_test.c assert_true(pcmk__validate_health_strategy("migrate-on-red")); assert_true 23 lib/common/tests/health/pcmk__validate_health_strategy_test.c assert_true(pcmk__validate_health_strategy("only-green")); assert_true 24 lib/common/tests/health/pcmk__validate_health_strategy_test.c assert_true(pcmk__validate_health_strategy("progressive")); assert_true 25 lib/common/tests/health/pcmk__validate_health_strategy_test.c assert_true(pcmk__validate_health_strategy("custom")); assert_true 26 lib/common/tests/lists/pcmk__list_of_1_test.c assert_true(pcmk__list_of_1(lst)); assert_true 37 lib/common/tests/lists/pcmk__list_of_multiple_test.c assert_true(pcmk__list_of_multiple(lst)); assert_true 41 lib/common/tests/nvpair/pcmk__xe_attr_is_true_test.c assert_true(pcmk__xe_attr_is_true(node, "a")); assert_true 47 lib/common/tests/nvpair/pcmk__xe_get_bool_attr_test.c assert_true(value); assert_true 31 lib/common/tests/options/pcmk__env_option_enabled_test.c assert_true(pcmk__env_option_enabled(NULL, "env_var")); assert_true 35 lib/common/tests/options/pcmk__env_option_enabled_test.c assert_true(pcmk__env_option_enabled("pacemaker-execd", "env_var")); assert_true 65 lib/common/tests/options/pcmk__env_option_enabled_test.c assert_true(pcmk__env_option_enabled("pacemaker-execd", "env_var")); assert_true 69 lib/common/tests/options/pcmk__env_option_enabled_test.c assert_true(pcmk__env_option_enabled("pacemaker-execd", "env_var")); assert_true 73 lib/common/tests/options/pcmk__env_option_enabled_test.c assert_true(pcmk__env_option_enabled("pacemaker-execd", "env_var")); assert_true 78 lib/common/tests/options/pcmk__env_option_enabled_test.c assert_true(pcmk__env_option_enabled("pacemaker-execd", "env_var")); assert_true 36 lib/common/tests/procfs/pcmk__procfs_has_pids_true_test.c assert_true(pcmk__procfs_has_pids()); assert_true 21 lib/common/tests/strings/crm_is_true_test.c assert_true(crm_is_true("true")); assert_true 22 lib/common/tests/strings/crm_is_true_test.c assert_true(crm_is_true("TrUe")); assert_true 23 lib/common/tests/strings/crm_is_true_test.c assert_true(crm_is_true("on")); assert_true 24 lib/common/tests/strings/crm_is_true_test.c assert_true(crm_is_true("ON")); assert_true 25 lib/common/tests/strings/crm_is_true_test.c assert_true(crm_is_true("yes")); assert_true 26 lib/common/tests/strings/crm_is_true_test.c assert_true(crm_is_true("yES")); assert_true 27 lib/common/tests/strings/crm_is_true_test.c assert_true(crm_is_true("y")); assert_true 28 lib/common/tests/strings/crm_is_true_test.c assert_true(crm_is_true("Y")); assert_true 29 lib/common/tests/strings/crm_is_true_test.c assert_true(crm_is_true("1")); assert_true 26 lib/common/tests/strings/crm_str_to_boolean_test.c assert_true(ret); assert_true 28 lib/common/tests/strings/crm_str_to_boolean_test.c assert_true(ret); assert_true 30 lib/common/tests/strings/crm_str_to_boolean_test.c assert_true(ret); assert_true 32 lib/common/tests/strings/crm_str_to_boolean_test.c assert_true(ret); assert_true 34 lib/common/tests/strings/crm_str_to_boolean_test.c assert_true(ret); assert_true 36 lib/common/tests/strings/crm_str_to_boolean_test.c assert_true(ret); assert_true 38 lib/common/tests/strings/crm_str_to_boolean_test.c assert_true(ret); assert_true 40 lib/common/tests/strings/crm_str_to_boolean_test.c assert_true(ret); assert_true 42 lib/common/tests/strings/crm_str_to_boolean_test.c assert_true(ret); assert_true 24 lib/common/tests/strings/pcmk__char_in_any_str_test.c assert_true(pcmk__char_in_any_str('\0', "xxx", "yyy", NULL)); assert_true 25 lib/common/tests/strings/pcmk__char_in_any_str_test.c assert_true(pcmk__char_in_any_str('\0', "", NULL)); assert_true 31 lib/common/tests/strings/pcmk__char_in_any_str_test.c assert_true(pcmk__char_in_any_str('x', "aaa", "bbb", "xxx", NULL)); assert_true 18 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with(NULL, NULL)); assert_true 19 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with(NULL, "")); assert_true 20 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with("", NULL)); assert_true 21 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with("", "")); assert_true 22 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with("abc", NULL)); assert_true 23 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with("abc", "")); assert_true 28 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with("abc", "abc")); assert_true 29 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with("abc", "bc")); assert_true 30 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with("abc", "c")); assert_true 31 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with("abcbc", "bc")); assert_true 43 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with_ext("ab.c", ".c")); assert_true 44 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with_ext("ab.cb.c", ".c")); assert_true 25 lib/common/tests/strings/pcmk__scan_double_test.c #define assert_float_equal(a, b, epsilon) assert_true(fabs((a) - (b)) < (epsilon)) assert_true 121 lib/common/tests/strings/pcmk__scan_double_test.c assert_true(result > DBL_MAX); assert_true 125 lib/common/tests/strings/pcmk__scan_double_test.c assert_true(result < -DBL_MAX); assert_true 142 lib/common/tests/strings/pcmk__scan_double_test.c assert_true(result >= 0.0); assert_true 143 lib/common/tests/strings/pcmk__scan_double_test.c assert_true(result <= DBL_MIN); assert_true 147 lib/common/tests/strings/pcmk__scan_double_test.c assert_true(result <= 0.0); assert_true 148 lib/common/tests/strings/pcmk__scan_double_test.c assert_true(result >= -DBL_MIN); assert_true 22 lib/common/tests/strings/pcmk__starts_with_test.c assert_true(pcmk__starts_with("abc", "a")); assert_true 23 lib/common/tests/strings/pcmk__starts_with_test.c assert_true(pcmk__starts_with("abc", "ab")); assert_true 24 lib/common/tests/strings/pcmk__starts_with_test.c assert_true(pcmk__starts_with("abc", "abc")); assert_true 30 lib/common/tests/strings/pcmk__starts_with_test.c assert_true(pcmk__starts_with("xyz", "")); assert_true 32 lib/common/tests/strings/pcmk__str_any_of_test.c assert_true(pcmk__strcase_any_of("xxx", "aaa", "bbb", "xxx", NULL)); assert_true 33 lib/common/tests/strings/pcmk__str_any_of_test.c assert_true(pcmk__str_any_of("xxx", "aaa", "bbb", "xxx", NULL)); assert_true 34 lib/common/tests/strings/pcmk__str_any_of_test.c assert_true(pcmk__strcase_any_of("XXX", "aaa", "bbb", "xxx", NULL)); assert_true 31 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list(NULL, list, pcmk__str_null_matches)); assert_true 45 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("xxx", list, pcmk__str_star_matches)); assert_true 46 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("yyy", list, pcmk__str_star_matches)); assert_true 47 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("XXX", list, pcmk__str_star_matches|pcmk__str_casei)); assert_true 48 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("", list, pcmk__str_star_matches)); assert_true 76 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("xxx", list, pcmk__str_none)); assert_true 77 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("XXX", list, pcmk__str_casei)); assert_true 78 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("yyy", list, pcmk__str_none)); assert_true 79 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("YYY", list, pcmk__str_casei)); assert_true 80 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("zzz", list, pcmk__str_none)); assert_true 81 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("ZZZ", list, pcmk__str_casei)); assert_true 20 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__str_eq(s1, s1, pcmk__str_none)); assert_true 31 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__str_eq(s1, NULL, pcmk__str_null_matches)); assert_true 33 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__strcmp(s1, NULL, pcmk__str_none) > 0); assert_true 35 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__strcmp(NULL, s1, pcmk__str_none) < 0); assert_true 43 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__strcmp(s1, s2, pcmk__str_none) > 0); assert_true 45 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__strcmp(s2, s1, pcmk__str_none) < 0); assert_true 54 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__str_eq(s1, s2, pcmk__str_casei)); assert_true 62 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__strcmp(NULL, "a..d", pcmk__str_regex) > 0); assert_true 63 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__strcmp(s1, NULL, pcmk__str_regex) > 0); assert_true 65 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__str_eq(s1, "a..d", pcmk__str_regex)); assert_true 69 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__str_eq(s2, "a..d", pcmk__str_regex|pcmk__str_casei)); assert_true 72 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__strcmp(s2, "*ab", pcmk__str_regex) > 0); assert_true 24 lib/common/tests/strings/pcmk__strikey_table_test.c assert_true(g_hash_table_insert(tbl, strdup("key-abc"), strdup("val-abc"))); assert_true 24 lib/common/tests/strings/pcmk__strkey_table_test.c assert_true(g_hash_table_insert(tbl, strdup("key-abc"), strdup("val-abc"))); assert_true 32 lib/common/tests/strings/pcmk__strkey_table_test.c assert_true(g_hash_table_insert(tbl, strdup("key-ABC"), strdup("val-abc"))); assert_true 17 lib/common/tests/utils/pcmk_str_is_infinity_test.c assert_true(pcmk_str_is_infinity("INFINITY")); assert_true 18 lib/common/tests/utils/pcmk_str_is_infinity_test.c assert_true(pcmk_str_is_infinity("+INFINITY")); assert_true 17 lib/common/tests/utils/pcmk_str_is_minus_infinity_test.c assert_true(pcmk_str_is_minus_infinity("-INFINITY")); assert_true 143 lib/common/tests/xml/pcmk__xe_foreach_child_test.c assert_true(pcmk__str_any_of((const char *) xml->name, assert_true 108 lib/pengine/tests/native/pe_base_name_eq_test.c assert_true(pe_base_name_eq(dummy, "dummy")); assert_true 117 lib/pengine/tests/native/pe_base_name_eq_test.c assert_true(pe_base_name_eq(exim_group, "exim-group")); assert_true 126 lib/pengine/tests/native/pe_base_name_eq_test.c assert_true(pe_base_name_eq(promotable_0, "promotable-rsc")); assert_true 127 lib/pengine/tests/native/pe_base_name_eq_test.c assert_true(pe_base_name_eq(promotable_1, "promotable-rsc")); assert_true 139 lib/pengine/tests/native/pe_base_name_eq_test.c assert_true(pe_base_name_eq(httpd_bundle, "httpd-bundle"));