assert_string_equal 24 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(rsc, "Fencing"); assert_string_equal 25 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(ty, "monitor"); assert_string_equal 32 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(rsc, "R"); assert_string_equal 33 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(ty, "monitor"); assert_string_equal 40 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(rsc, "R"); assert_string_equal 41 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(ty, "A"); assert_string_equal 55 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(rsc, "_"); assert_string_equal 56 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(ty, "monitor"); assert_string_equal 62 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(rsc, "__"); assert_string_equal 63 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(ty, "migrate_from"); assert_string_equal 69 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(rsc, "___"); assert_string_equal 70 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(ty, "pre_notify_stop"); assert_string_equal 84 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(rsc, "ClusterIP:0"); assert_string_equal 85 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(ty, "start"); assert_string_equal 91 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(rsc, "imagestoreclone:1"); assert_string_equal 92 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(ty, "post_notify_stop"); assert_string_equal 106 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(rsc, "httpd-bundle-0"); assert_string_equal 107 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(ty, "monitor"); assert_string_equal 113 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(rsc, "httpd-bundle-ip-192.168.122.132"); assert_string_equal 114 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(ty, "start"); assert_string_equal 128 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(rsc, "vm"); assert_string_equal 129 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(ty, "migrate_from"); assert_string_equal 135 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(rsc, "vm"); assert_string_equal 136 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(ty, "migrate_to"); assert_string_equal 142 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(rsc, "vm_idcc_devel"); assert_string_equal 143 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(ty, "migrate_to"); assert_string_equal 157 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(rsc, "rsc_drbd_7788:1"); assert_string_equal 158 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(ty, "post_notify_start"); assert_string_equal 164 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(rsc, "rabbitmq-bundle-clone"); assert_string_equal 165 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(ty, "pre_notify_stop"); assert_string_equal 171 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(rsc, "post_notify"); assert_string_equal 172 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(ty, "start"); assert_string_equal 179 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(rsc, "r"); assert_string_equal 180 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(ty, "confirmed-post_notify_start"); assert_string_equal 193 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(ty, "monitor"); assert_string_equal 205 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(rsc, "Fencing"); assert_string_equal 217 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(rsc, "Fencing"); assert_string_equal 218 lib/common/tests/actions/parse_op_key_test.c assert_string_equal(ty, "monitor"); assert_string_equal 27 lib/common/tests/agents/crm_generate_ra_key_test.c assert_string_equal(retval, "std:ty"); assert_string_equal 41 lib/common/tests/agents/crm_generate_ra_key_test.c assert_string_equal(retval, "std:prov:ty"); assert_string_equal 50 lib/common/tests/agents/crm_parse_agent_spec_test.c assert_string_equal(std, "stonith"); assert_string_equal 52 lib/common/tests/agents/crm_parse_agent_spec_test.c assert_string_equal(ty, "fence_xvm"); assert_string_equal 65 lib/common/tests/agents/crm_parse_agent_spec_test.c assert_string_equal(std, "ocf"); assert_string_equal 66 lib/common/tests/agents/crm_parse_agent_spec_test.c assert_string_equal(prov, "pacemaker"); assert_string_equal 67 lib/common/tests/agents/crm_parse_agent_spec_test.c assert_string_equal(ty, "ping"); assert_string_equal 81 lib/common/tests/agents/crm_parse_agent_spec_test.c assert_string_equal(std, "systemd"); assert_string_equal 83 lib/common/tests/agents/crm_parse_agent_spec_test.c assert_string_equal(ty, "UNIT@A:B"); assert_string_equal 21 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c assert_string_equal((a)[i], (b)[i]); \ assert_string_equal 50 lib/common/tests/cmdline/pcmk__new_common_args_test.c assert_string_equal(args->summary, "boring summary"); assert_string_equal 28 lib/common/tests/cmdline/pcmk__quote_cmdline_test.c assert_string_equal(processed, expected); assert_string_equal 38 lib/common/tests/cmdline/pcmk__quote_cmdline_test.c assert_string_equal(processed, expected); assert_string_equal 48 lib/common/tests/cmdline/pcmk__quote_cmdline_test.c assert_string_equal(processed, expected); assert_string_equal 26 lib/common/tests/io/pcmk__get_tmpdir_test.c assert_string_equal(result, "/tmp"); assert_string_equal 31 lib/common/tests/io/pcmk__get_tmpdir_test.c assert_string_equal(result, "/tmp"); assert_string_equal 36 lib/common/tests/io/pcmk__get_tmpdir_test.c assert_string_equal(result, "/tmp"); assert_string_equal 51 lib/common/tests/io/pcmk__get_tmpdir_test.c assert_string_equal(result, "/var/tmp"); assert_string_equal 56 lib/common/tests/io/pcmk__get_tmpdir_test.c assert_string_equal(result, "/"); assert_string_equal 61 lib/common/tests/io/pcmk__get_tmpdir_test.c assert_string_equal(result, "/tmp/abcd.1234"); assert_string_equal 19 lib/common/tests/iso8601/pcmk__readable_interval_test.c assert_string_equal(pcmk__readable_interval(0), "0s"); assert_string_equal 20 lib/common/tests/iso8601/pcmk__readable_interval_test.c assert_string_equal(pcmk__readable_interval(503), "503ms"); assert_string_equal 21 lib/common/tests/iso8601/pcmk__readable_interval_test.c assert_string_equal(pcmk__readable_interval(3333), "3.333s"); assert_string_equal 22 lib/common/tests/iso8601/pcmk__readable_interval_test.c assert_string_equal(pcmk__readable_interval(30000), "30s"); assert_string_equal 23 lib/common/tests/iso8601/pcmk__readable_interval_test.c assert_string_equal(pcmk__readable_interval(61000), "1m1s"); assert_string_equal 24 lib/common/tests/iso8601/pcmk__readable_interval_test.c assert_string_equal(pcmk__readable_interval(150000), "2m30s"); assert_string_equal 25 lib/common/tests/iso8601/pcmk__readable_interval_test.c assert_string_equal(pcmk__readable_interval(UINT_MAX), "49d17h2m47.295s"); assert_string_equal 48 lib/common/tests/iso8601/pcmk__time_format_hr_test.c assert_string_equal(result, expected); assert_string_equal 34 lib/common/tests/lists/pcmk__subtract_lists_test.c assert_string_equal(g_list_nth_data(result, 0), "abc"); assert_string_equal 35 lib/common/tests/lists/pcmk__subtract_lists_test.c assert_string_equal(g_list_nth_data(result, 1), "def"); assert_string_equal 36 lib/common/tests/lists/pcmk__subtract_lists_test.c assert_string_equal(g_list_nth_data(result, 2), "ghi"); assert_string_equal 59 lib/common/tests/lists/pcmk__subtract_lists_test.c assert_string_equal(g_list_nth_data(result, 0), "def"); assert_string_equal 60 lib/common/tests/lists/pcmk__subtract_lists_test.c assert_string_equal(g_list_nth_data(result, 1), "ghi"); assert_string_equal 83 lib/common/tests/lists/pcmk__subtract_lists_test.c assert_string_equal(g_list_nth_data(result, 0), "abc"); assert_string_equal 84 lib/common/tests/lists/pcmk__subtract_lists_test.c assert_string_equal(g_list_nth_data(result, 1), "ghi"); assert_string_equal 107 lib/common/tests/lists/pcmk__subtract_lists_test.c assert_string_equal(g_list_nth_data(result, 0), "abc"); assert_string_equal 108 lib/common/tests/lists/pcmk__subtract_lists_test.c assert_string_equal(g_list_nth_data(result, 1), "def"); assert_string_equal 41 lib/common/tests/nodes/pcmk__xe_add_node_test.c assert_string_equal("somenode", assert_string_equal 60 lib/common/tests/nodes/pcmk__xe_add_node_test.c assert_string_equal("nodeC", crm_element_value(node, PCMK__XA_ATTR_HOST)); assert_string_equal 63 lib/common/tests/nodes/pcmk_cib_node_shutdown_test.c assert_string_equal(pcmk_cib_node_shutdown(xml, "node1"), "999"); assert_string_equal 41 lib/common/tests/nodes/pcmk_foreach_active_resource_test.c assert_string_equal(rsc->id, expected_id); assert_string_equal 27 lib/common/tests/nvpair/crm_meta_name_test.c assert_string_equal(s, "CRM_meta_notify"); assert_string_equal 31 lib/common/tests/nvpair/crm_meta_name_test.c assert_string_equal(s, "CRM_meta_resource_stickiness"); assert_string_equal 35 lib/common/tests/nvpair/crm_meta_name_test.c assert_string_equal(s, "CRM_meta_blah"); assert_string_equal 48 lib/common/tests/nvpair/crm_meta_value_test.c assert_string_equal(crm_meta_value(tbl, PCMK_META_NOTIFY), "1"); assert_string_equal 49 lib/common/tests/nvpair/crm_meta_value_test.c assert_string_equal(crm_meta_value(tbl, PCMK_META_RESOURCE_STICKINESS), assert_string_equal 24 lib/common/tests/nvpair/pcmk__xe_set_bool_attr_test.c assert_string_equal(crm_element_value(node, "a"), PCMK_VALUE_TRUE); assert_string_equal 25 lib/common/tests/nvpair/pcmk__xe_set_bool_attr_test.c assert_string_equal(crm_element_value(node, "b"), PCMK_VALUE_FALSE); assert_string_equal 76 lib/common/tests/options/pcmk__env_option_test.c assert_string_equal(pcmk__env_option(long_opt), "value"); assert_string_equal 106 lib/common/tests/options/pcmk__env_option_test.c assert_string_equal(pcmk__env_option("env_var"), "value"); assert_string_equal 123 lib/common/tests/options/pcmk__env_option_test.c assert_string_equal(pcmk__env_option("env_var"), "value"); assert_string_equal 127 lib/common/tests/output/pcmk__output_new_test.c assert_string_equal(out->fmt_name, "text"); assert_string_equal 131 lib/common/tests/output/pcmk__output_new_test.c assert_string_equal(getenv("OCF_OUTPUT_FORMAT"), "text"); assert_string_equal 141 lib/common/tests/output/pcmk__output_new_test.c assert_string_equal(out->fmt_name, "text"); assert_string_equal 82 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c assert_string_equal(path, "/ok"); assert_string_equal 31 lib/common/tests/resources/pcmk_resource_id_test.c assert_string_equal(pcmk_resource_id(&rsc1), "rsc1"); assert_string_equal 19 lib/common/tests/results/pcmk__results_test.c assert_string_equal(pcmk_rc_name(pcmk_rc_error-1), "pcmk_rc_unknown_format"); assert_string_equal 20 lib/common/tests/results/pcmk__results_test.c assert_string_equal(pcmk_rc_name(pcmk_rc_ok), "pcmk_rc_ok"); assert_string_equal 21 lib/common/tests/results/pcmk__results_test.c assert_string_equal(pcmk_rc_name(pcmk_rc_ok), "pcmk_rc_ok"); assert_string_equal 22 lib/common/tests/results/pcmk__results_test.c assert_string_equal(pcmk_rc_name(-7777777), "Unknown"); assert_string_equal 27 lib/common/tests/results/pcmk__results_test.c assert_string_equal(pcmk_rc_str(pcmk_rc_error-1), "Unknown output format"); assert_string_equal 28 lib/common/tests/results/pcmk__results_test.c assert_string_equal(pcmk_rc_str(pcmk_rc_ok), "OK"); assert_string_equal 29 lib/common/tests/results/pcmk__results_test.c assert_string_equal(pcmk_rc_str(-1), "Error"); assert_string_equal 34 lib/common/tests/results/pcmk__results_test.c assert_string_equal(crm_exit_name(CRM_EX_OK), "CRM_EX_OK"); assert_string_equal 39 lib/common/tests/results/pcmk__results_test.c assert_string_equal(crm_exit_str(CRM_EX_OK), "OK"); assert_string_equal 40 lib/common/tests/results/pcmk__results_test.c assert_string_equal(crm_exit_str(129), "Interrupted by signal"); assert_string_equal 41 lib/common/tests/results/pcmk__results_test.c assert_string_equal(crm_exit_str(-7777777), "Unknown exit status"); assert_string_equal 87 lib/common/tests/schemas/pcmk__build_schema_xml_node_test.c assert_string_equal("pacemaker-3.0", assert_string_equal 92 lib/common/tests/schemas/pcmk__build_schema_xml_node_test.c assert_string_equal(rngs1[i], assert_string_equal 123 lib/common/tests/schemas/pcmk__build_schema_xml_node_test.c assert_string_equal("pacemaker-2.0", assert_string_equal 128 lib/common/tests/schemas/pcmk__build_schema_xml_node_test.c assert_string_equal(rngs2[i], assert_string_equal 137 lib/common/tests/schemas/pcmk__build_schema_xml_node_test.c assert_string_equal("pacemaker-2.1", assert_string_equal 144 lib/common/tests/schemas/pcmk__build_schema_xml_node_test.c assert_string_equal(rngs3[i], assert_string_equal 49 lib/common/tests/schemas/pcmk__find_x_0_schema_test.c assert_string_equal(schema->name, schema_name); assert_string_equal 48 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-1.2.rng", g_list_nth_data(schemas, 0)); assert_string_equal 49 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("upgrade-1.3.xsl", g_list_nth_data(schemas, 1)); assert_string_equal 50 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-1.3.rng", g_list_nth_data(schemas, 2)); assert_string_equal 51 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-2.0.rng", g_list_nth_data(schemas, 3)); assert_string_equal 52 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-2.1.rng", g_list_nth_data(schemas, 4)); assert_string_equal 53 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-2.2.rng", g_list_nth_data(schemas, 5)); assert_string_equal 54 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-2.3.rng", g_list_nth_data(schemas, 6)); assert_string_equal 55 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-2.4.rng", g_list_nth_data(schemas, 7)); assert_string_equal 56 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-2.5.rng", g_list_nth_data(schemas, 8)); assert_string_equal 57 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-2.6.rng", g_list_nth_data(schemas, 9)); assert_string_equal 58 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-2.7.rng", g_list_nth_data(schemas, 10)); assert_string_equal 59 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-2.8.rng", g_list_nth_data(schemas, 11)); assert_string_equal 60 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-2.9.rng", g_list_nth_data(schemas, 12)); assert_string_equal 61 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("upgrade-2.10-leave.xsl", g_list_nth_data(schemas, 13)); assert_string_equal 62 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("upgrade-2.10-enter.xsl", g_list_nth_data(schemas, 14)); assert_string_equal 63 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("upgrade-2.10.xsl", g_list_nth_data(schemas, 15)); assert_string_equal 64 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-2.10.rng", g_list_nth_data(schemas, 16)); assert_string_equal 65 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-3.0.rng", g_list_nth_data(schemas, 17)); assert_string_equal 71 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-2.1.rng", g_list_nth_data(schemas, 0)); assert_string_equal 72 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-2.2.rng", g_list_nth_data(schemas, 1)); assert_string_equal 73 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-2.3.rng", g_list_nth_data(schemas, 2)); assert_string_equal 74 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-2.4.rng", g_list_nth_data(schemas, 3)); assert_string_equal 75 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-2.5.rng", g_list_nth_data(schemas, 4)); assert_string_equal 76 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-2.6.rng", g_list_nth_data(schemas, 5)); assert_string_equal 77 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-2.7.rng", g_list_nth_data(schemas, 6)); assert_string_equal 78 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-2.8.rng", g_list_nth_data(schemas, 7)); assert_string_equal 79 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-2.9.rng", g_list_nth_data(schemas, 8)); assert_string_equal 80 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("upgrade-2.10-leave.xsl", g_list_nth_data(schemas, 9)); assert_string_equal 81 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("upgrade-2.10-enter.xsl", g_list_nth_data(schemas, 10)); assert_string_equal 82 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("upgrade-2.10.xsl", g_list_nth_data(schemas, 11)); assert_string_equal 83 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-2.10.rng", g_list_nth_data(schemas, 12)); assert_string_equal 84 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-3.0.rng", g_list_nth_data(schemas, 13)); assert_string_equal 90 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("upgrade-2.10-leave.xsl", g_list_nth_data(schemas, 0)); assert_string_equal 91 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("upgrade-2.10-enter.xsl", g_list_nth_data(schemas, 1)); assert_string_equal 92 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("upgrade-2.10.xsl", g_list_nth_data(schemas, 2)); assert_string_equal 93 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-2.10.rng", g_list_nth_data(schemas, 3)); assert_string_equal 94 lib/common/tests/schemas/pcmk__schema_files_later_than_test.c assert_string_equal("pacemaker-3.0.rng", g_list_nth_data(schemas, 4)); assert_string_equal 17 lib/common/tests/scores/pcmk_readable_score_test.c assert_string_equal(pcmk_readable_score(PCMK_SCORE_INFINITY * 2), assert_string_equal 19 lib/common/tests/scores/pcmk_readable_score_test.c assert_string_equal(pcmk_readable_score(-PCMK_SCORE_INFINITY * 2), assert_string_equal 26 lib/common/tests/scores/pcmk_readable_score_test.c assert_string_equal(pcmk_readable_score(0), "0"); assert_string_equal 27 lib/common/tests/scores/pcmk_readable_score_test.c assert_string_equal(pcmk_readable_score(1024), "1024"); assert_string_equal 28 lib/common/tests/scores/pcmk_readable_score_test.c assert_string_equal(pcmk_readable_score(-1024), "-1024"); assert_string_equal 16 lib/common/tests/strings/pcmk__btoa_test.c assert_string_equal(pcmk__btoa(false), "false"); assert_string_equal 17 lib/common/tests/strings/pcmk__btoa_test.c assert_string_equal(pcmk__btoa(true), "true"); assert_string_equal 18 lib/common/tests/strings/pcmk__btoa_test.c assert_string_equal(pcmk__btoa(1 == 0), "false"); assert_string_equal 28 lib/common/tests/strings/pcmk__g_strcat_test.c assert_string_equal((const char *) buf->str, ""); assert_string_equal 31 lib/common/tests/strings/pcmk__g_strcat_test.c assert_string_equal((const char *) buf->str, ""); assert_string_equal 36 lib/common/tests/strings/pcmk__g_strcat_test.c assert_string_equal((const char *) buf->str, "hello"); assert_string_equal 39 lib/common/tests/strings/pcmk__g_strcat_test.c assert_string_equal((const char *) buf->str, "hello"); assert_string_equal 50 lib/common/tests/strings/pcmk__g_strcat_test.c assert_string_equal((const char *) buf->str, "hello "); assert_string_equal 54 lib/common/tests/strings/pcmk__g_strcat_test.c assert_string_equal((const char *) buf->str, "hello world"); assert_string_equal 65 lib/common/tests/strings/pcmk__g_strcat_test.c assert_string_equal((const char *) buf->str, "hello"); assert_string_equal 17 lib/common/tests/strings/pcmk__s_test.c assert_string_equal(pcmk__s(NULL, ""), ""); assert_string_equal 18 lib/common/tests/strings/pcmk__s_test.c assert_string_equal(pcmk__s(NULL, "something"), "something"); assert_string_equal 23 lib/common/tests/strings/pcmk__s_test.c assert_string_equal(pcmk__s("something", NULL), "something"); assert_string_equal 24 lib/common/tests/strings/pcmk__s_test.c assert_string_equal(pcmk__s("something", "default"), "something"); assert_string_equal 76 lib/common/tests/strings/pcmk__scan_double_test.c assert_string_equal(end_text, "asdf"); assert_string_equal 48 lib/common/tests/strings/pcmk__str_table_dup_test.c assert_string_equal(g_hash_table_lookup(tbl, "abc"), "123"); assert_string_equal 49 lib/common/tests/strings/pcmk__str_table_dup_test.c assert_string_equal(g_hash_table_lookup(tbl, "def"), "456"); assert_string_equal 50 lib/common/tests/strings/pcmk__str_table_dup_test.c assert_string_equal(g_hash_table_lookup(tbl, "ghi"), "789"); assert_string_equal 52 lib/common/tests/strings/pcmk__str_update_test.c assert_string_equal(str, "world"); assert_string_equal 26 lib/common/tests/strings/pcmk__strikey_table_test.c assert_string_equal(g_hash_table_lookup(tbl, "key-abc"), "val-abc"); assert_string_equal 30 lib/common/tests/strings/pcmk__strikey_table_test.c assert_string_equal(g_hash_table_lookup(tbl, "key-abc"), "val-def"); assert_string_equal 34 lib/common/tests/strings/pcmk__strikey_table_test.c assert_string_equal(g_hash_table_lookup(tbl, "key-ABC"), "val-ABC"); assert_string_equal 26 lib/common/tests/strings/pcmk__strkey_table_test.c assert_string_equal(g_hash_table_lookup(tbl, "key-abc"), "val-abc"); assert_string_equal 30 lib/common/tests/strings/pcmk__strkey_table_test.c assert_string_equal(g_hash_table_lookup(tbl, "key-abc"), "val-def"); assert_string_equal 34 lib/common/tests/strings/pcmk__strkey_table_test.c assert_string_equal(g_hash_table_lookup(tbl, "key-ABC"), "val-abc"); assert_string_equal 22 lib/common/tests/strings/pcmk__trim_test.c assert_string_equal(pcmk__trim(s), ""); assert_string_equal 32 lib/common/tests/strings/pcmk__trim_test.c assert_string_equal(pcmk__trim(s), "\nabcd"); assert_string_equal 41 lib/common/tests/strings/pcmk__trim_test.c assert_string_equal(pcmk__trim(s), "ab\ncd"); assert_string_equal 50 lib/common/tests/strings/pcmk__trim_test.c assert_string_equal(pcmk__trim(s), "abcd"); assert_string_equal 54 lib/common/tests/strings/pcmk__trim_test.c assert_string_equal(pcmk__trim(s), "abcd\n "); assert_string_equal 63 lib/common/tests/strings/pcmk__trim_test.c assert_string_equal(pcmk__trim(s), " ab\t\ncd \t"); assert_string_equal 28 lib/common/tests/utils/pcmk__fail_attr_name_test.c assert_string_equal(pcmk__fail_attr_name("xyz", "myrsc", "monitor", 30000), assert_string_equal 27 lib/common/tests/utils/pcmk__failcount_name_test.c assert_string_equal(pcmk__failcount_name("myrsc", "monitor", 30000), assert_string_equal 30 lib/common/tests/utils/pcmk__getpid_s_test.c assert_string_equal("1234", retval); assert_string_equal 27 lib/common/tests/utils/pcmk__lastfailure_name_test.c assert_string_equal(pcmk__lastfailure_name("myrsc", "monitor", 30000), assert_string_equal 40 lib/common/tests/xml/pcmk__xc_create_test.c assert_string_equal((const char *) node->content, content); assert_string_equal 45 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_string_equal(crm_element_value(target, "attr"), "value"); assert_string_equal 61 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_string_equal(crm_element_value(src, "attr"), assert_string_equal 82 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_string_equal(crm_element_value(src, "attr1"), assert_string_equal 84 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_string_equal(crm_element_value(src, "attr2"), assert_string_equal 86 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_string_equal(crm_element_value(src, "attr3"), assert_string_equal 105 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_string_equal(crm_element_value(src, "attr"), assert_string_equal 130 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_string_equal(crm_element_value(src, "attr"), assert_string_equal 150 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_string_equal(crm_element_value(target, "plus_plus_attr"), "2"); assert_string_equal 151 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_string_equal(crm_element_value(target, "plus_two_attr"), "3"); assert_string_equal 171 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_string_equal(crm_element_value(target, "plus_plus_attr"), assert_string_equal 173 lib/common/tests/xml/pcmk__xe_copy_attrs_test.c assert_string_equal(crm_element_value(target, "plus_two_attr"), assert_string_equal 74 lib/common/tests/xml/pcmk__xe_first_child_test.c assert_string_equal(crm_element_value(result, PCMK_XA_ID), "3"); assert_string_equal 79 lib/common/tests/xml/pcmk__xe_first_child_test.c assert_string_equal(crm_element_value(result, PCMK_XA_ID), "5"); assert_string_equal 92 lib/common/tests/xml/pcmk__xe_first_child_test.c assert_string_equal(crm_element_value(result, PCMK_XA_ID), "2"); assert_string_equal 97 lib/common/tests/xml/pcmk__xe_first_child_test.c assert_string_equal(crm_element_value(result, PCMK_XA_ID), "4"); assert_string_equal 17 lib/common/tests/xml/pcmk__xe_foreach_child_test.c assert_string_equal((char *) userdata, (const char *) xml->name); assert_string_equal 38 lib/common/tests/xml/pcmk__xe_set_score_test.c assert_string_equal(crm_element_value(test_xml, name), reference_val); assert_string_equal 73 lib/common/tests/xml/pcmk__xe_set_score_test.c assert_string_equal(crm_element_value(test_xml, "X"), "5"); assert_string_equal 23 lib/common/tests/xml/pcmk__xml_escape_test.c assert_string_equal(buf, reference); assert_string_equal 125 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c assert_string_equal(crm_element_value(ticket_node, PCMK_XA_ID), "ticketA"); assert_string_equal 128 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c assert_string_equal(crm_element_value(ticket_node, PCMK_XA_ID), "ticketB"); assert_string_equal 131 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c assert_string_equal(crm_element_value(ticket_node, PCMK_XA_ID), "ticketC"); assert_string_equal 134 lib/pacemaker/tests/pcmk_ticket/pcmk__get_ticket_state_test.c assert_string_equal(crm_element_value(ticket_node, PCMK_XA_ID), "ticketC"); assert_string_equal 107 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c assert_string_equal(crm_element_value(ticket_node, PCMK_XA_ID), "ticketA"); assert_string_equal 110 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_constraints_test.c assert_string_equal(crm_element_value(ticket_node, PCMK_XA_ID), "ticketB"); assert_string_equal 89 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c assert_string_equal(crm_element_value(node, PCMK_XA_ID), ticket_id); assert_string_equal 100 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c assert_string_equal(crm_element_value(node, PCMK_XA_NAME), attr_name); assert_string_equal 101 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c assert_string_equal(crm_element_value(node, PCMK_XA_VALUE), attr_value); assert_string_equal 78 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c assert_string_equal(crm_element_value(node, PCMK_XA_STATUS), PCMK_VALUE_REVOKED); assert_string_equal 79 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c assert_string_equal(crm_element_value(node, PCMK__XA_GRANTED), "false"); assert_string_equal 80 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c assert_string_equal(crm_element_value(node, PCMK_XA_STANDBY), PCMK_VALUE_FALSE); assert_string_equal 81 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c assert_string_equal(crm_element_value(node, "owner"), "1"); assert_string_equal 88 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c assert_string_equal(crm_element_value(node, PCMK_XA_STATUS), PCMK_VALUE_GRANTED); assert_string_equal 89 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c assert_string_equal(crm_element_value(node, PCMK__XA_GRANTED), "true"); assert_string_equal 90 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c assert_string_equal(crm_element_value(node, PCMK_XA_STANDBY), PCMK_VALUE_FALSE); assert_string_equal 98 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c assert_string_equal(crm_element_value(node, PCMK_XA_STATUS), PCMK_VALUE_GRANTED); assert_string_equal 99 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c assert_string_equal(crm_element_value(node, PCMK__XA_GRANTED), "true"); assert_string_equal 100 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c assert_string_equal(crm_element_value(node, PCMK_XA_STANDBY), PCMK_VALUE_FALSE); assert_string_equal 125 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c assert_string_equal(crm_element_value(node, PCMK_XA_STATUS), PCMK_VALUE_REVOKED); assert_string_equal 126 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c assert_string_equal(crm_element_value(node, PCMK__XA_GRANTED), "false"); assert_string_equal 127 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c assert_string_equal(crm_element_value(node, PCMK_XA_STANDBY), PCMK_VALUE_FALSE); assert_string_equal 128 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_info_test.c assert_string_equal(crm_element_value(node, "owner"), "1"); assert_string_equal 93 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c assert_string_equal("1", crm_element_value(xml_search, "owner")); assert_string_equal 129 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c assert_string_equal("1", crm_element_value(xml_search, "owner")); assert_string_equal 182 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c assert_string_equal("true", crm_element_value(xml_search, PCMK__XA_GRANTED)); assert_string_equal 121 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_string_equal("123", crm_element_value(xml_search, "attrA")); assert_string_equal 122 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_string_equal("456", crm_element_value(xml_search, "attrB")); assert_string_equal 148 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_string_equal("2", crm_element_value(xml_search, "owner")); assert_string_equal 174 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_string_equal("false", crm_element_value(xml_search, PCMK__XA_GRANTED)); assert_string_equal 201 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_string_equal("true", crm_element_value(xml_search, PCMK__XA_GRANTED)); assert_string_equal 228 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_string_equal("true", crm_element_value(xml_search, PCMK__XA_GRANTED)); assert_string_equal 255 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_string_equal("false", crm_element_value(xml_search, PCMK__XA_GRANTED)); assert_string_equal 107 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c assert_string_equal(crm_element_value(ticket_node, PCMK_XA_ID), "ticketA"); assert_string_equal 110 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c assert_string_equal(crm_element_value(ticket_node, PCMK_XA_ID), "ticketB"); assert_string_equal 113 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c assert_string_equal(crm_element_value(ticket_node, PCMK_XA_ID), "ticketC"); assert_string_equal 116 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_state_test.c assert_string_equal(crm_element_value(ticket_node, PCMK_XA_ID), "ticketC"); assert_string_equal 23 lib/pengine/tests/unpack/pe_base_name_end_test.c assert_string_equal(pe_base_name_end("rsc"), "c"); assert_string_equal 24 lib/pengine/tests/unpack/pe_base_name_end_test.c assert_string_equal(pe_base_name_end("rsc0"), "0"); assert_string_equal 29 lib/pengine/tests/unpack/pe_base_name_end_test.c assert_string_equal(pe_base_name_end("rsc:0"), "c:0"); assert_string_equal 30 lib/pengine/tests/unpack/pe_base_name_end_test.c assert_string_equal(pe_base_name_end("rsc:100"), "c:100");