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 42 lib/common/tests/agents/crm_parse_agent_spec_test.c assert_string_equal(std, "stonith"); assert_string_equal 44 lib/common/tests/agents/crm_parse_agent_spec_test.c assert_string_equal(ty, "fence_xvm"); assert_string_equal 57 lib/common/tests/agents/crm_parse_agent_spec_test.c assert_string_equal(std, "ocf"); assert_string_equal 58 lib/common/tests/agents/crm_parse_agent_spec_test.c assert_string_equal(prov, "pacemaker"); assert_string_equal 59 lib/common/tests/agents/crm_parse_agent_spec_test.c assert_string_equal(ty, "ping"); assert_string_equal 73 lib/common/tests/agents/crm_parse_agent_spec_test.c assert_string_equal(std, "systemd"); assert_string_equal 75 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 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(30000), "30s"); assert_string_equal 21 lib/common/tests/iso8601/pcmk__readable_interval_test.c assert_string_equal(pcmk__readable_interval(150000), "2m30s"); assert_string_equal 22 lib/common/tests/iso8601/pcmk__readable_interval_test.c assert_string_equal(pcmk__readable_interval(3333), "3.333s"); assert_string_equal 23 lib/common/tests/iso8601/pcmk__readable_interval_test.c assert_string_equal(pcmk__readable_interval(UINT_MAX), "49d17h2m47.295s"); 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 24 lib/common/tests/nvpair/pcmk__xe_set_bool_attr_test.c assert_string_equal(crm_element_value(node, "a"), XML_BOOLEAN_TRUE); assert_string_equal 25 lib/common/tests/nvpair/pcmk__xe_set_bool_attr_test.c assert_string_equal(crm_element_value(node, "b"), XML_BOOLEAN_FALSE); assert_string_equal 56 lib/common/tests/operations/copy_in_properties_test.c assert_string_equal(xml_1_value, xml_2_value); assert_string_equal 24 lib/common/tests/operations/expand_plus_plus_test.c assert_string_equal(new_value, "6"); assert_string_equal 35 lib/common/tests/operations/expand_plus_plus_test.c assert_string_equal(new_value, "7"); assert_string_equal 49 lib/common/tests/operations/expand_plus_plus_test.c assert_string_equal(new_value, "5"); assert_string_equal 60 lib/common/tests/operations/expand_plus_plus_test.c assert_string_equal(new_value, "5"); assert_string_equal 71 lib/common/tests/operations/expand_plus_plus_test.c assert_string_equal(new_value, "5"); assert_string_equal 84 lib/common/tests/operations/expand_plus_plus_test.c assert_string_equal(new_value, "Y++"); assert_string_equal 95 lib/common/tests/operations/expand_plus_plus_test.c assert_string_equal(new_value, "2"); assert_string_equal 108 lib/common/tests/operations/expand_plus_plus_test.c assert_string_equal(new_value, "X++"); assert_string_equal 119 lib/common/tests/operations/expand_plus_plus_test.c assert_string_equal(new_value, "1"); assert_string_equal 130 lib/common/tests/operations/expand_plus_plus_test.c assert_string_equal(new_value, "2"); assert_string_equal 141 lib/common/tests/operations/expand_plus_plus_test.c assert_string_equal(new_value, "6"); assert_string_equal 152 lib/common/tests/operations/expand_plus_plus_test.c assert_string_equal(new_value, "6"); assert_string_equal 163 lib/common/tests/operations/expand_plus_plus_test.c assert_string_equal(new_value, "6"); assert_string_equal 174 lib/common/tests/operations/expand_plus_plus_test.c assert_string_equal(new_value, "5"); assert_string_equal 185 lib/common/tests/operations/expand_plus_plus_test.c assert_string_equal(new_value, "7"); assert_string_equal 196 lib/common/tests/operations/expand_plus_plus_test.c assert_string_equal(new_value, "6"); assert_string_equal 207 lib/common/tests/operations/expand_plus_plus_test.c assert_string_equal(new_value, "6"); assert_string_equal 220 lib/common/tests/operations/expand_plus_plus_test.c assert_string_equal(new_value, "X++"); assert_string_equal 234 lib/common/tests/operations/expand_plus_plus_test.c assert_string_equal(new_value, "1000000"); assert_string_equal 41 lib/common/tests/operations/fix_plus_plus_recursive_test.c assert_string_equal(new_value_root, "5"); assert_string_equal 42 lib/common/tests/operations/fix_plus_plus_recursive_test.c assert_string_equal(new_value_child, "1"); assert_string_equal 43 lib/common/tests/operations/fix_plus_plus_recursive_test.c assert_string_equal(new_value_grandchild, "2"); assert_string_equal 24 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(rsc, "Fencing"); assert_string_equal 25 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "monitor"); assert_string_equal 32 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(rsc, "R"); assert_string_equal 33 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "monitor"); assert_string_equal 40 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(rsc, "R"); assert_string_equal 41 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "A"); assert_string_equal 55 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(rsc, "_"); assert_string_equal 56 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "monitor"); assert_string_equal 62 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(rsc, "__"); assert_string_equal 63 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "migrate_from"); assert_string_equal 69 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(rsc, "___"); assert_string_equal 70 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "pre_notify_stop"); assert_string_equal 84 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(rsc, "ClusterIP:0"); assert_string_equal 85 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "start"); assert_string_equal 91 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(rsc, "imagestoreclone:1"); assert_string_equal 92 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "post_notify_stop"); assert_string_equal 106 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(rsc, "httpd-bundle-0"); assert_string_equal 107 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "monitor"); assert_string_equal 113 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(rsc, "httpd-bundle-ip-192.168.122.132"); assert_string_equal 114 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "start"); assert_string_equal 128 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(rsc, "vm"); assert_string_equal 129 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "migrate_from"); assert_string_equal 135 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(rsc, "vm"); assert_string_equal 136 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "migrate_to"); assert_string_equal 142 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(rsc, "vm_idcc_devel"); assert_string_equal 143 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "migrate_to"); assert_string_equal 157 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(rsc, "rsc_drbd_7788:1"); assert_string_equal 158 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "post_notify_start"); assert_string_equal 164 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(rsc, "rabbitmq-bundle-clone"); assert_string_equal 165 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "pre_notify_stop"); assert_string_equal 171 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(rsc, "post_notify"); assert_string_equal 172 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "start"); assert_string_equal 179 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(rsc, "r"); assert_string_equal 180 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "confirmed-post_notify_start"); assert_string_equal 193 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "monitor"); assert_string_equal 205 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(rsc, "Fencing"); assert_string_equal 217 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(rsc, "Fencing"); assert_string_equal 218 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "monitor"); 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 121 lib/common/tests/output/pcmk__output_new_test.c assert_string_equal(out->fmt_name, "text"); assert_string_equal 125 lib/common/tests/output/pcmk__output_new_test.c assert_string_equal(getenv("OCF_OUTPUT_FORMAT"), "text"); assert_string_equal 135 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 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 52 lib/common/tests/results/pcmk__results_test.c assert_string_equal(bz2_strerror(BZ_STREAM_END), "Ok"); assert_string_equal 17 lib/common/tests/scores/pcmk_readable_score_test.c assert_string_equal(pcmk_readable_score(CRM_SCORE_INFINITY * 2), assert_string_equal 19 lib/common/tests/scores/pcmk_readable_score_test.c assert_string_equal(pcmk_readable_score(-CRM_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 27 lib/common/tests/utils/crm_meta_name_test.c assert_string_equal(s, "CRM_meta_notify"); assert_string_equal 31 lib/common/tests/utils/crm_meta_name_test.c assert_string_equal(s, "CRM_meta_resource_stickiness"); assert_string_equal 35 lib/common/tests/utils/crm_meta_name_test.c assert_string_equal(s, "CRM_meta_blah"); assert_string_equal 47 lib/common/tests/utils/crm_meta_value_test.c assert_string_equal(crm_meta_value(tbl, XML_RSC_ATTR_NOTIFY), "1"); assert_string_equal 48 lib/common/tests/utils/crm_meta_value_test.c assert_string_equal(crm_meta_value(tbl, XML_RSC_ATTR_STICKINESS), "2"); assert_string_equal 30 lib/common/tests/utils/pcmk__getpid_s_test.c assert_string_equal("1234", retval); assert_string_equal 32 lib/common/tests/utils/pcmk_hostname_test.c assert_string_equal("somename", retval); assert_string_equal 17 lib/common/tests/xml/pcmk__xe_foreach_child_test.c assert_string_equal((char *) userdata, crm_element_name(xml)); assert_string_equal 74 lib/common/tests/xml/pcmk__xe_match_test.c assert_string_equal(crm_element_value(result, "id"), "3"); assert_string_equal 79 lib/common/tests/xml/pcmk__xe_match_test.c assert_string_equal(crm_element_value(result, "id"), "5"); assert_string_equal 92 lib/common/tests/xml/pcmk__xe_match_test.c assert_string_equal(crm_element_value(result, "id"), "2"); assert_string_equal 97 lib/common/tests/xml/pcmk__xe_match_test.c assert_string_equal(crm_element_value(result, "id"), "4"); 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");