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 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(PCMK_VALUE_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 50 lib/common/tests/iso8601/pcmk__time_format_hr_test.c assert_true((strcmp(result, expected) == 0) 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 35 lib/common/tests/nodes/pcmk_node_is_clean_test.c assert_true(pcmk_node_is_clean(&node)); assert_true 35 lib/common/tests/nodes/pcmk_node_is_in_maintenance_test.c assert_true(pcmk_node_is_in_maintenance(&node)); assert_true 35 lib/common/tests/nodes/pcmk_node_is_online_test.c assert_true(pcmk_node_is_online(&node)); assert_true 35 lib/common/tests/nodes/pcmk_node_is_pending_test.c assert_true(pcmk_node_is_pending(&node)); assert_true 35 lib/common/tests/nodes/pcmk_node_is_shutting_down_test.c assert_true(pcmk_node_is_shutting_down(&node)); 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 48 lib/common/tests/nvpair/pcmk__xe_get_bool_attr_test.c assert_true(value); assert_true 40 lib/common/tests/nvpair/pcmk__xe_get_flags_test.c assert_true(flags == expected_flags); assert_true 62 lib/common/tests/nvpair/pcmk__xe_get_flags_test.c assert_true(flags == DEFAULT_VALUE); assert_true 67 lib/common/tests/nvpair/pcmk__xe_get_flags_test.c assert_true(flags == DEFAULT_VALUE); assert_true 83 lib/common/tests/nvpair/pcmk__xe_get_flags_test.c assert_true(flags == DEFAULT_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 21 lib/common/tests/probes/pcmk_is_probe_test.c assert_true(pcmk_is_probe("monitor", 0)); assert_true 49 lib/common/tests/probes/pcmk_xe_is_probe_test.c assert_true(pcmk_xe_is_probe(node)); assert_true 78 lib/common/tests/probes/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 101 lib/common/tests/probes/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 112 lib/common/tests/probes/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 146 lib/common/tests/probes/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 157 lib/common/tests/probes/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 180 lib/common/tests/probes/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 191 lib/common/tests/probes/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 236 lib/common/tests/probes/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 247 lib/common/tests/probes/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 292 lib/common/tests/probes/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 303 lib/common/tests/probes/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 36 lib/common/tests/procfs/pcmk__procfs_has_pids_true_test.c assert_true(pcmk__procfs_has_pids()); assert_true 30 lib/common/tests/resources/pcmk_resource_is_managed_test.c assert_true(pcmk_resource_is_managed(&rsc1)); assert_true 23 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("0", NULL, pcmk__type_integer) > 0); assert_true 24 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type(NULL, "0", pcmk__type_number) < 0); assert_true 40 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("bye", "hello", pcmk__type_string) < 0); assert_true 41 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("bye", "HELLO", pcmk__type_string) < 0); assert_true 42 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("bye", "boo", pcmk__type_string) > 0); assert_true 43 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("bye", "Boo", pcmk__type_string) > 0); assert_true 53 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("0", "1", pcmk__type_integer) < 0); assert_true 54 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("1", "0", pcmk__type_integer) > 0); assert_true 55 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("3999", "399", pcmk__type_integer) > 0); assert_true 56 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type(int_min, int_max, pcmk__type_integer) < 0); assert_true 57 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type(int_max, int_min, pcmk__type_integer) > 0); assert_true 74 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("0.345", "0.5", pcmk__type_number) < 0); assert_true 75 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("5", "3.1", pcmk__type_number) > 0); assert_true 76 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("3999", "399", pcmk__type_number) > 0); assert_true 91 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("1.0.0", "1.0.1", pcmk__type_version) < 0); assert_true 92 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("5.0", "3.1.15", pcmk__type_version) > 0); assert_true 93 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("3999", "399", pcmk__type_version) > 0); assert_true 28 lib/common/tests/scheduler/pcmk_has_quorum_test.c assert_true(pcmk_has_quorum(&scheduler)); assert_true 39 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name("pacemaker-0.1", assert_true 41 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name("pacemaker-0.1", assert_true 43 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name("pacemaker-1.0", assert_true 45 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name("pacemaker-1.1", NULL) < 0); assert_true 46 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name(NULL, "pacemaker-0.0") > 0); assert_true 51 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name("pacemaker-0.6", assert_true 53 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name("pacemaker-next", assert_true 61 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name(NULL, NULL) == 0); assert_true 62 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name(NULL, PCMK_VALUE_NONE) == 0); assert_true 63 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name(PCMK_VALUE_NONE, NULL) == 0); assert_true 64 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name(PCMK_VALUE_NONE, assert_true 67 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name("pacemaker-3.0", assert_true 69 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name(PCMK_VALUE_NONE, assert_true 73 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name("pacemaker-next", assert_true 75 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name(PCMK_VALUE_NONE, assert_true 84 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name("pacemaker-next", assert_true 86 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name(NULL, "pacemaker-next") > 0); assert_true 87 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name("pacemaker-next", NULL) < 0); assert_true 88 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name("pacemaker-3.0", assert_true 90 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name("pacemaker-next", assert_true 97 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name("pacemaker-1.0", assert_true 99 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name("pacemaker-1.2", assert_true 101 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name("pacemaker-1.2", assert_true 108 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name("Pacemaker-1.0", assert_true 110 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name("PACEMAKER-1.2", assert_true 112 lib/common/tests/schemas/pcmk__cmp_schemas_by_name_test.c assert_true(pcmk__cmp_schemas_by_name("PaceMaker-1.2", 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 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 46 lib/common/tests/xml/pcmk__xc_create_test.c assert_true(pcmk_all_flags_set(nodepriv->flags, assert_true 49 lib/common/tests/xml/pcmk__xc_create_test.c assert_true(pcmk_is_set(docpriv->flags, pcmk__xf_dirty)); 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 66 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(l_angle_left, pcmk__xml_escape_text)); assert_true 67 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(l_angle_mid, pcmk__xml_escape_text)); assert_true 68 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(l_angle_right, pcmk__xml_escape_text)); assert_true 70 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(l_angle_left, pcmk__xml_escape_attr)); assert_true 71 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(l_angle_mid, pcmk__xml_escape_attr)); assert_true 72 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(l_angle_right, pcmk__xml_escape_attr)); assert_true 89 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(r_angle_left, pcmk__xml_escape_text)); assert_true 90 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(r_angle_mid, pcmk__xml_escape_text)); assert_true 91 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(r_angle_right, pcmk__xml_escape_text)); assert_true 93 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(r_angle_left, pcmk__xml_escape_attr)); assert_true 94 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(r_angle_mid, pcmk__xml_escape_attr)); assert_true 95 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(r_angle_right, pcmk__xml_escape_attr)); assert_true 112 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(ampersand_left, pcmk__xml_escape_text)); assert_true 113 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(ampersand_mid, pcmk__xml_escape_text)); assert_true 114 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(ampersand_right, pcmk__xml_escape_text)); assert_true 116 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(ampersand_left, pcmk__xml_escape_attr)); assert_true 117 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(ampersand_mid, pcmk__xml_escape_attr)); assert_true 118 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(ampersand_right, pcmk__xml_escape_attr)); assert_true 142 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(double_quote_left, assert_true 144 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(double_quote_mid, assert_true 146 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(double_quote_right, assert_true 149 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(double_quote_left, assert_true 151 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(double_quote_mid, assert_true 153 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(double_quote_right, assert_true 168 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(newline_left, pcmk__xml_escape_attr)); assert_true 169 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(newline_mid, pcmk__xml_escape_attr)); assert_true 170 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(newline_right, pcmk__xml_escape_attr)); assert_true 172 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(newline_left, assert_true 174 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(newline_mid, assert_true 176 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(newline_right, assert_true 191 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(tab_left, pcmk__xml_escape_attr)); assert_true 192 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(tab_mid, pcmk__xml_escape_attr)); assert_true 193 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(tab_right, pcmk__xml_escape_attr)); assert_true 195 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(tab_left, pcmk__xml_escape_attr_pretty)); assert_true 196 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(tab_mid, pcmk__xml_escape_attr_pretty)); assert_true 197 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(tab_right, assert_true 208 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(cr_left, pcmk__xml_escape_text)); assert_true 209 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(cr_mid, pcmk__xml_escape_text)); assert_true 210 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(cr_right, pcmk__xml_escape_text)); assert_true 212 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(cr_left, pcmk__xml_escape_attr)); assert_true 213 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(cr_mid, pcmk__xml_escape_attr)); assert_true 214 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(cr_right, pcmk__xml_escape_attr)); assert_true 216 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(cr_left, pcmk__xml_escape_attr_pretty)); assert_true 217 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(cr_mid, pcmk__xml_escape_attr_pretty)); assert_true 218 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(cr_right, pcmk__xml_escape_attr_pretty)); assert_true 234 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(alert_left, pcmk__xml_escape_text)); assert_true 235 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(alert_mid, pcmk__xml_escape_text)); assert_true 236 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(alert_right, pcmk__xml_escape_text)); assert_true 238 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(alert_left, pcmk__xml_escape_attr)); assert_true 239 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(alert_mid, pcmk__xml_escape_attr)); assert_true 240 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(alert_right, pcmk__xml_escape_attr)); assert_true 249 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(delete_left, pcmk__xml_escape_text)); assert_true 250 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(delete_mid, pcmk__xml_escape_text)); assert_true 251 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(delete_right, pcmk__xml_escape_text)); assert_true 253 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(delete_left, pcmk__xml_escape_attr)); assert_true 254 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(delete_mid, pcmk__xml_escape_attr)); assert_true 255 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(delete_right, pcmk__xml_escape_attr)); assert_true 264 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(nonprinting_all, pcmk__xml_escape_text)); assert_true 265 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(nonprinting_all, pcmk__xml_escape_attr)); assert_true 293 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(two_byte_special, assert_true 295 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(two_byte_special, assert_true 305 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(three_byte_special, assert_true 307 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(three_byte_special, assert_true 317 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(four_byte_special, assert_true 319 lib/common/tests/xml/pcmk__xml_needs_escape_test.c assert_true(pcmk__xml_needs_escape(four_byte_special, assert_true 32 lib/common/tests/xml/pcmk__xml_new_doc_test.c assert_true(pcmk_all_flags_set(docpriv->flags, 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"));