assert_int_equal 21 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c assert_int_equal(g_strv_length((gchar **) (a)), g_strv_length((gchar **) (b))); \ assert_int_equal 20 lib/common/tests/flags/pcmk__clear_flags_as_test.c assert_int_equal(pcmk__clear_flags_as(__func__, __LINE__, LOG_TRACE, "Test", assert_int_equal 22 lib/common/tests/flags/pcmk__clear_flags_as_test.c assert_int_equal(pcmk__clear_flags_as(__func__, __LINE__, LOG_TRACE, "Test", assert_int_equal 28 lib/common/tests/flags/pcmk__clear_flags_as_test.c assert_int_equal(pcmk__clear_flags_as(__func__, __LINE__, LOG_TRACE, "Test", assert_int_equal 30 lib/common/tests/flags/pcmk__clear_flags_as_test.c assert_int_equal(pcmk__clear_flags_as(__func__, __LINE__, LOG_TRACE, "Test", assert_int_equal 36 lib/common/tests/flags/pcmk__clear_flags_as_test.c assert_int_equal(pcmk__clear_flags_as(__func__, __LINE__, LOG_TRACE, "Test", assert_int_equal 38 lib/common/tests/flags/pcmk__clear_flags_as_test.c assert_int_equal(pcmk__clear_flags_as(__func__, __LINE__, LOG_TRACE, "Test", assert_int_equal 20 lib/common/tests/flags/pcmk__set_flags_as_test.c assert_int_equal(pcmk__set_flags_as(__func__, __LINE__, LOG_TRACE, "Test", assert_int_equal 22 lib/common/tests/flags/pcmk__set_flags_as_test.c assert_int_equal(pcmk__set_flags_as(__func__, __LINE__, LOG_TRACE, "Test", assert_int_equal 24 lib/common/tests/flags/pcmk__set_flags_as_test.c assert_int_equal(pcmk__set_flags_as(__func__, __LINE__, LOG_TRACE, "Test", assert_int_equal 20 lib/common/tests/health/pcmk__parse_health_strategy_test.c assert_int_equal(pcmk__parse_health_strategy(NULL), assert_int_equal 23 lib/common/tests/health/pcmk__parse_health_strategy_test.c assert_int_equal(pcmk__parse_health_strategy("none"), assert_int_equal 26 lib/common/tests/health/pcmk__parse_health_strategy_test.c assert_int_equal(pcmk__parse_health_strategy("NONE"), assert_int_equal 29 lib/common/tests/health/pcmk__parse_health_strategy_test.c assert_int_equal(pcmk__parse_health_strategy("None"), assert_int_equal 32 lib/common/tests/health/pcmk__parse_health_strategy_test.c assert_int_equal(pcmk__parse_health_strategy("nOnE"), assert_int_equal 35 lib/common/tests/health/pcmk__parse_health_strategy_test.c assert_int_equal(pcmk__parse_health_strategy("migrate-on-red"), assert_int_equal 38 lib/common/tests/health/pcmk__parse_health_strategy_test.c assert_int_equal(pcmk__parse_health_strategy("only-green"), assert_int_equal 41 lib/common/tests/health/pcmk__parse_health_strategy_test.c assert_int_equal(pcmk__parse_health_strategy("progressive"), assert_int_equal 44 lib/common/tests/health/pcmk__parse_health_strategy_test.c assert_int_equal(pcmk__parse_health_strategy("custom"), assert_int_equal 50 lib/common/tests/health/pcmk__parse_health_strategy_test.c assert_int_equal(pcmk__parse_health_strategy("foo"), assert_int_equal 52 lib/common/tests/health/pcmk__parse_health_strategy_test.c assert_int_equal(pcmk__parse_health_strategy("custom1"), assert_int_equal 54 lib/common/tests/health/pcmk__parse_health_strategy_test.c assert_int_equal(pcmk__parse_health_strategy("not-only-green-here"), assert_int_equal 26 lib/common/tests/io/pcmk__full_path_test.c assert_int_equal(strcmp(path, "/dir/file"), 0); assert_int_equal 30 lib/common/tests/io/pcmk__full_path_test.c assert_int_equal(strcmp(path, "/full/path"), 0); assert_int_equal 34 lib/common/tests/io/pcmk__full_path_test.c assert_int_equal(strcmp(path, "/dir/../relative/path"), 0); assert_int_equal 39 lib/common/tests/lists/pcmk__subtract_lists_test.c assert_int_equal(g_list_length(result), 3); assert_int_equal 64 lib/common/tests/lists/pcmk__subtract_lists_test.c assert_int_equal(g_list_length(result), 2); assert_int_equal 88 lib/common/tests/lists/pcmk__subtract_lists_test.c assert_int_equal(g_list_length(result), 2); assert_int_equal 112 lib/common/tests/lists/pcmk__subtract_lists_test.c assert_int_equal(g_list_length(result), 2); assert_int_equal 138 lib/common/tests/lists/pcmk__subtract_lists_test.c assert_int_equal(g_list_length(result), 0); assert_int_equal 28 lib/common/tests/nvpair/pcmk__xe_get_bool_attr_test.c assert_int_equal(pcmk__xe_get_bool_attr(NULL, NULL, &value), ENODATA); assert_int_equal 29 lib/common/tests/nvpair/pcmk__xe_get_bool_attr_test.c assert_int_equal(pcmk__xe_get_bool_attr(NULL, "whatever", &value), ENODATA); assert_int_equal 30 lib/common/tests/nvpair/pcmk__xe_get_bool_attr_test.c assert_int_equal(pcmk__xe_get_bool_attr(node, NULL, &value), EINVAL); assert_int_equal 31 lib/common/tests/nvpair/pcmk__xe_get_bool_attr_test.c assert_int_equal(pcmk__xe_get_bool_attr(node, "whatever", NULL), EINVAL); assert_int_equal 42 lib/common/tests/nvpair/pcmk__xe_get_bool_attr_test.c assert_int_equal(pcmk__xe_get_bool_attr(node, "c", &value), ENODATA); assert_int_equal 53 lib/common/tests/nvpair/pcmk__xe_get_bool_attr_test.c assert_int_equal(pcmk__xe_get_bool_attr(node, "a", &value), pcmk_rc_ok); assert_int_equal 56 lib/common/tests/nvpair/pcmk__xe_get_bool_attr_test.c assert_int_equal(pcmk__xe_get_bool_attr(node, "b", &value), pcmk_rc_ok); assert_int_equal 58 lib/common/tests/nvpair/pcmk__xe_get_bool_attr_test.c assert_int_equal(pcmk__xe_get_bool_attr(node, "c", &value), pcmk_rc_unknown_format); assert_int_equal 30 lib/common/tests/operations/parse_op_key_test.c assert_int_equal(ms, 60000); assert_int_equal 45 lib/common/tests/operations/parse_op_key_test.c assert_int_equal(ms, 0); assert_int_equal 52 lib/common/tests/operations/parse_op_key_test.c assert_int_equal(ms, 0); assert_int_equal 67 lib/common/tests/operations/parse_op_key_test.c assert_int_equal(ms, 30000); assert_int_equal 74 lib/common/tests/operations/parse_op_key_test.c assert_int_equal(ms, 0); assert_int_equal 89 lib/common/tests/operations/parse_op_key_test.c assert_int_equal(ms, 0); assert_int_equal 96 lib/common/tests/operations/parse_op_key_test.c assert_int_equal(ms, 0); assert_int_equal 103 lib/common/tests/operations/parse_op_key_test.c assert_int_equal(ms, 0); assert_int_equal 118 lib/common/tests/operations/parse_op_key_test.c assert_int_equal(ms, 0); assert_int_equal 125 lib/common/tests/operations/parse_op_key_test.c assert_int_equal(ms, 0); assert_int_equal 132 lib/common/tests/operations/parse_op_key_test.c assert_int_equal(ms, 0); assert_int_equal 145 lib/common/tests/operations/parse_op_key_test.c assert_int_equal(ms, 60000); assert_int_equal 157 lib/common/tests/operations/parse_op_key_test.c assert_int_equal(ms, 60000); assert_int_equal 184 lib/common/tests/operations/parse_op_key_test.c assert_int_equal(ms, 0); assert_int_equal 189 lib/common/tests/operations/parse_op_key_test.c assert_int_equal(ms, 0); assert_int_equal 202 lib/common/tests/operations/parse_op_key_test.c assert_int_equal(ms, 0); assert_int_equal 207 lib/common/tests/operations/parse_op_key_test.c assert_int_equal(ms, 0); assert_int_equal 212 lib/common/tests/operations/parse_op_key_test.c assert_int_equal(ms, 0); assert_int_equal 50 lib/common/tests/results/pcmk__results_test.c assert_int_equal(pcmk_rc2exitc(pcmk_rc_ok), CRM_EX_OK); assert_int_equal 51 lib/common/tests/results/pcmk__results_test.c assert_int_equal(pcmk_rc2exitc(-7777777), CRM_EX_ERROR); assert_int_equal 25 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score(NULL), 0); assert_int_equal 31 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("PQRST"), 0); assert_int_equal 32 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("3.141592"), 3); assert_int_equal 33 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("0xf00d"), 0); assert_int_equal 39 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("-INFINITY"), -CRM_SCORE_INFINITY); assert_int_equal 40 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("INFINITY"), CRM_SCORE_INFINITY); assert_int_equal 41 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("+INFINITY"), CRM_SCORE_INFINITY); assert_int_equal 47 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("red"), pcmk__score_red); assert_int_equal 48 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("green"), pcmk__score_green); assert_int_equal 49 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("yellow"), pcmk__score_yellow); assert_int_equal 51 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("ReD"), pcmk__score_red); assert_int_equal 52 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("GrEeN"), pcmk__score_green); assert_int_equal 53 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("yElLoW"), pcmk__score_yellow); assert_int_equal 63 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score(B(CRM_SCORE_INFINITY) "00"), CRM_SCORE_INFINITY); assert_int_equal 64 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("-" B(CRM_SCORE_INFINITY) "00"), -CRM_SCORE_INFINITY); assert_int_equal 70 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("1234"), 1234); assert_int_equal 71 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("-1234"), -1234); assert_int_equal 21 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-CRM_SCORE_INFINITY, -CRM_SCORE_INFINITY), -CRM_SCORE_INFINITY); assert_int_equal 22 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-CRM_SCORE_INFINITY, -1), -CRM_SCORE_INFINITY); assert_int_equal 23 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-CRM_SCORE_INFINITY, 0), -CRM_SCORE_INFINITY); assert_int_equal 24 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-CRM_SCORE_INFINITY, 1), -CRM_SCORE_INFINITY); assert_int_equal 25 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-CRM_SCORE_INFINITY, CRM_SCORE_INFINITY), -CRM_SCORE_INFINITY); assert_int_equal 31 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-1, -CRM_SCORE_INFINITY), -CRM_SCORE_INFINITY); assert_int_equal 32 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(0, -CRM_SCORE_INFINITY), -CRM_SCORE_INFINITY); assert_int_equal 33 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(1, -CRM_SCORE_INFINITY), -CRM_SCORE_INFINITY); assert_int_equal 34 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(CRM_SCORE_INFINITY, -CRM_SCORE_INFINITY), -CRM_SCORE_INFINITY); assert_int_equal 40 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(CRM_SCORE_INFINITY, CRM_SCORE_INFINITY), CRM_SCORE_INFINITY); assert_int_equal 41 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(CRM_SCORE_INFINITY, -1), CRM_SCORE_INFINITY); assert_int_equal 42 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(CRM_SCORE_INFINITY, 0), CRM_SCORE_INFINITY); assert_int_equal 43 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(CRM_SCORE_INFINITY, 1), CRM_SCORE_INFINITY); assert_int_equal 49 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-1, CRM_SCORE_INFINITY), CRM_SCORE_INFINITY); assert_int_equal 50 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(0, CRM_SCORE_INFINITY), CRM_SCORE_INFINITY); assert_int_equal 51 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(1, CRM_SCORE_INFINITY), CRM_SCORE_INFINITY); assert_int_equal 57 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(INT_MAX, INT_MAX), CRM_SCORE_INFINITY); assert_int_equal 58 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(INT_MIN, INT_MIN), -CRM_SCORE_INFINITY); assert_int_equal 59 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(2000000, 50), CRM_SCORE_INFINITY); assert_int_equal 60 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-4000000, 50), -CRM_SCORE_INFINITY); assert_int_equal 66 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(0, 0), 0); assert_int_equal 67 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(0, 100), 100); assert_int_equal 68 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(200, 0), 200); assert_int_equal 69 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(200, -50), 150); assert_int_equal 20 lib/common/tests/strings/crm_get_msec_test.c assert_int_equal(crm_get_msec(NULL), PCMK__PARSE_INT_DEFAULT); assert_int_equal 21 lib/common/tests/strings/crm_get_msec_test.c assert_int_equal(crm_get_msec(" "), PCMK__PARSE_INT_DEFAULT); assert_int_equal 22 lib/common/tests/strings/crm_get_msec_test.c assert_int_equal(crm_get_msec("abcxyz"), PCMK__PARSE_INT_DEFAULT); assert_int_equal 23 lib/common/tests/strings/crm_get_msec_test.c assert_int_equal(crm_get_msec("100xs"), PCMK__PARSE_INT_DEFAULT); assert_int_equal 24 lib/common/tests/strings/crm_get_msec_test.c assert_int_equal(crm_get_msec(" 100 xs "), PCMK__PARSE_INT_DEFAULT); assert_int_equal 25 lib/common/tests/strings/crm_get_msec_test.c assert_int_equal(crm_get_msec("-100ms"), PCMK__PARSE_INT_DEFAULT); assert_int_equal 30 lib/common/tests/strings/crm_get_msec_test.c assert_int_equal(crm_get_msec("100"), 100000); assert_int_equal 31 lib/common/tests/strings/crm_get_msec_test.c assert_int_equal(crm_get_msec(" 100 "), 100000); assert_int_equal 32 lib/common/tests/strings/crm_get_msec_test.c assert_int_equal(crm_get_msec("\t100\n"), 100000); assert_int_equal 34 lib/common/tests/strings/crm_get_msec_test.c assert_int_equal(crm_get_msec("100ms"), 100); assert_int_equal 35 lib/common/tests/strings/crm_get_msec_test.c assert_int_equal(crm_get_msec("100 MSEC"), 100); assert_int_equal 36 lib/common/tests/strings/crm_get_msec_test.c assert_int_equal(crm_get_msec("1000US"), 1); assert_int_equal 37 lib/common/tests/strings/crm_get_msec_test.c assert_int_equal(crm_get_msec("1000usec"), 1); assert_int_equal 38 lib/common/tests/strings/crm_get_msec_test.c assert_int_equal(crm_get_msec("12s"), 12000); assert_int_equal 39 lib/common/tests/strings/crm_get_msec_test.c assert_int_equal(crm_get_msec("12 sec"), 12000); assert_int_equal 40 lib/common/tests/strings/crm_get_msec_test.c assert_int_equal(crm_get_msec("1m"), 60000); assert_int_equal 41 lib/common/tests/strings/crm_get_msec_test.c assert_int_equal(crm_get_msec("13 min"), 780000); assert_int_equal 42 lib/common/tests/strings/crm_get_msec_test.c assert_int_equal(crm_get_msec("2\th"), 7200000); assert_int_equal 43 lib/common/tests/strings/crm_get_msec_test.c assert_int_equal(crm_get_msec("1 hr"), 3600000); assert_int_equal 48 lib/common/tests/strings/crm_get_msec_test.c assert_int_equal(crm_get_msec("9223372036854775807s"), LLONG_MAX); assert_int_equal 20 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean(NULL, NULL), -1); assert_int_equal 21 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("", NULL), -1); assert_int_equal 22 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("blahblah", NULL), -1); assert_int_equal 29 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("true", &ret), 1); assert_int_equal 31 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("TrUe", &ret), 1); assert_int_equal 33 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("on", &ret), 1); assert_int_equal 35 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("ON", &ret), 1); assert_int_equal 37 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("yes", &ret), 1); assert_int_equal 39 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("yES", &ret), 1); assert_int_equal 41 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("y", &ret), 1); assert_int_equal 43 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("Y", &ret), 1); assert_int_equal 45 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("1", &ret), 1); assert_int_equal 51 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("truedat", NULL), -1); assert_int_equal 52 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("onnn", NULL), -1); assert_int_equal 53 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("yep", NULL), -1); assert_int_equal 54 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("Y!", NULL), -1); assert_int_equal 55 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("100", NULL), -1); assert_int_equal 62 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("false", &ret), 1); assert_int_equal 64 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("fAlSe", &ret), 1); assert_int_equal 66 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("off", &ret), 1); assert_int_equal 68 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("OFF", &ret), 1); assert_int_equal 70 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("no", &ret), 1); assert_int_equal 72 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("No", &ret), 1); assert_int_equal 74 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("n", &ret), 1); assert_int_equal 76 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("N", &ret), 1); assert_int_equal 78 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("0", &ret), 1); assert_int_equal 84 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("falseee", NULL), -1); assert_int_equal 85 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("of", NULL), -1); assert_int_equal 86 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("nope", NULL), -1); assert_int_equal 87 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("N!", NULL), -1); assert_int_equal 88 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("000", NULL), -1); assert_int_equal 28 lib/common/tests/strings/pcmk__add_word_test.c assert_int_equal(strcmp(list, "hello world"), 0); assert_int_equal 39 lib/common/tests/strings/pcmk__add_word_test.c assert_int_equal(strcmp(list, "hello world"), 0); assert_int_equal 51 lib/common/tests/strings/pcmk__add_word_test.c assert_int_equal(strcmp(list, "hello"), 0); assert_int_equal 64 lib/common/tests/strings/pcmk__add_word_test.c assert_int_equal(strcmp(list, "hello world I am a unit test"), 0); assert_int_equal 77 lib/common/tests/strings/pcmk__add_word_test.c assert_int_equal(strcmp(list, "hello,world,I am a unit test"), 0); assert_int_equal 90 lib/common/tests/strings/pcmk__add_word_test.c assert_int_equal(strcmp(list, "hello, world, I am a unit test"), 0); assert_int_equal 28 lib/common/tests/strings/pcmk__compress_test.c assert_int_equal(pcmk__compress(SIMPLE_DATA, 40, 0, &result, &len), pcmk_rc_ok); assert_int_equal 38 lib/common/tests/strings/pcmk__compress_test.c assert_int_equal(pcmk__compress(SIMPLE_DATA, 40, 10, &result, &len), pcmk_rc_error); assert_int_equal 26 lib/common/tests/strings/pcmk__guint_from_hash_test.c assert_int_equal(pcmk__guint_from_hash(NULL, "abc", 123, &result), EINVAL); assert_int_equal 27 lib/common/tests/strings/pcmk__guint_from_hash_test.c assert_int_equal(pcmk__guint_from_hash(tbl, NULL, 123, &result), EINVAL); assert_int_equal 38 lib/common/tests/strings/pcmk__guint_from_hash_test.c assert_int_equal(pcmk__guint_from_hash(tbl, "abc", 123, &result), pcmk_rc_ok); assert_int_equal 39 lib/common/tests/strings/pcmk__guint_from_hash_test.c assert_int_equal(result, 123); assert_int_equal 52 lib/common/tests/strings/pcmk__guint_from_hash_test.c assert_int_equal(pcmk__guint_from_hash(tbl, "abc", 456, &result), pcmk_rc_ok); assert_int_equal 53 lib/common/tests/strings/pcmk__guint_from_hash_test.c assert_int_equal(result, 123); assert_int_equal 67 lib/common/tests/strings/pcmk__guint_from_hash_test.c assert_int_equal(pcmk__guint_from_hash(tbl, "negative", 456, &result), ERANGE); assert_int_equal 68 lib/common/tests/strings/pcmk__guint_from_hash_test.c assert_int_equal(result, 456); assert_int_equal 70 lib/common/tests/strings/pcmk__guint_from_hash_test.c assert_int_equal(pcmk__guint_from_hash(tbl, "toobig", 456, &result), ERANGE); assert_int_equal 71 lib/common/tests/strings/pcmk__guint_from_hash_test.c assert_int_equal(result, 456); assert_int_equal 22 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("abcd", "efgh"), -1); assert_int_equal 23 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("abcd", "abcd"), 0); assert_int_equal 24 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("efgh", "abcd"), 1); assert_int_equal 26 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("AbCd", "eFgH"), -1); assert_int_equal 27 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("ABCD", "abcd"), 0); assert_int_equal 28 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("EFgh", "ABcd"), 1); assert_int_equal 34 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node1", "node2"), -1); assert_int_equal 35 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node1", "node1"), 0); assert_int_equal 36 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node2", "node1"), 1); assert_int_equal 38 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node1", "node10"), -1); assert_int_equal 39 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node10", "node10"), 0); assert_int_equal 40 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node10", "node1"), 1); assert_int_equal 42 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node10", "remotenode9"), -1); assert_int_equal 43 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("remotenode9", "node10"), 1); assert_int_equal 46 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node001", "node1"), 1); assert_int_equal 47 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node1", "node001"), -1); assert_int_equal 53 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node1abc", "node1def"), -1); assert_int_equal 54 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node1def", "node1abc"), 1); assert_int_equal 56 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node1abc", "node2abc"), -1); assert_int_equal 57 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node2abc", "node1abc"), 1); assert_int_equal 63 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node-ab", "node-abc"), -1); assert_int_equal 64 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node-abc", "node-ab"), 1); assert_int_equal 66 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node1ab", "node1abc"), -1); assert_int_equal 67 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node1abc", "node1ab"), 1); assert_int_equal 23 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(pcmk__parse_ll_range(NULL, &start, &end), pcmk_rc_unknown_format); assert_int_equal 24 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(pcmk__parse_ll_range("", &start, &end), pcmk_rc_unknown_format); assert_int_equal 32 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(pcmk__parse_ll_range("1234", &start, &end), pcmk_rc_ok); assert_int_equal 33 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(start, 1234); assert_int_equal 34 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(end, 1234); assert_int_equal 42 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(pcmk__parse_ll_range("-", &start, &end), pcmk_rc_unknown_format); assert_int_equal 43 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(start, PCMK__PARSE_INT_DEFAULT); assert_int_equal 44 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(end, PCMK__PARSE_INT_DEFAULT); assert_int_equal 52 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(pcmk__parse_ll_range("2000-", &start, &end), pcmk_rc_ok); assert_int_equal 53 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(start, 2000); assert_int_equal 54 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(end, PCMK__PARSE_INT_DEFAULT); assert_int_equal 62 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(pcmk__parse_ll_range("-2020", &start, &end), pcmk_rc_ok); assert_int_equal 63 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(start, PCMK__PARSE_INT_DEFAULT); assert_int_equal 64 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(end, 2020); assert_int_equal 72 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(pcmk__parse_ll_range("2000-2020", &start, &end), pcmk_rc_ok); assert_int_equal 73 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(start, 2000); assert_int_equal 74 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(end, 2020); assert_int_equal 76 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(pcmk__parse_ll_range("2000-2020-2030", &start, &end), pcmk_rc_unknown_format); assert_int_equal 84 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(pcmk__parse_ll_range("2000x-", &start, &end), pcmk_rc_unknown_format); assert_int_equal 85 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(start, PCMK__PARSE_INT_DEFAULT); assert_int_equal 86 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(end, PCMK__PARSE_INT_DEFAULT); assert_int_equal 88 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(pcmk__parse_ll_range("-x2000", &start, &end), pcmk_rc_unknown_format); assert_int_equal 89 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(start, PCMK__PARSE_INT_DEFAULT); assert_int_equal 90 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(end, PCMK__PARSE_INT_DEFAULT); assert_int_equal 98 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(pcmk__parse_ll_range("20000000000000000000-", &start, &end), pcmk_rc_unknown_format); assert_int_equal 99 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(pcmk__parse_ll_range("100-20000000000000000000", &start, &end), pcmk_rc_unknown_format); assert_int_equal 38 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(NULL, &result, NULL, NULL), EINVAL); assert_int_equal 41 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("", &result, NULL, NULL), EINVAL); assert_int_equal 45 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(NULL, &result, "2.0", NULL), pcmk_rc_ok); assert_int_equal 48 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("", &result, "2.0", NULL), EINVAL); assert_int_equal 58 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("asdf", &result, NULL, NULL), EINVAL); assert_int_equal 61 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("as2.0", &result, NULL, NULL), EINVAL); assert_int_equal 65 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("asdf", &result, "2.0", NULL), EINVAL); assert_int_equal 68 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("as2.0", &result, "2.0", NULL), EINVAL); assert_int_equal 78 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("2.0asdf", &result, NULL, &end_text), pcmk_rc_ok); assert_int_equal 89 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("0.0", &result, NULL, NULL), pcmk_rc_ok); assert_int_equal 92 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("1.0", &result, NULL, NULL), pcmk_rc_ok); assert_int_equal 95 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("-1.0", &result, NULL, NULL), pcmk_rc_ok); assert_int_equal 99 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(str, &result, NULL, NULL), pcmk_rc_ok); assert_int_equal 103 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(str, &result, NULL, NULL), pcmk_rc_ok); assert_int_equal 118 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(str, &result, NULL, NULL), EOVERFLOW); assert_int_equal 122 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(str, &result, NULL, NULL), EOVERFLOW); assert_int_equal 139 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(str, &result, NULL, NULL), pcmk_rc_underflow); assert_int_equal 144 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(str, &result, NULL, NULL), pcmk_rc_underflow); assert_int_equal 23 lib/common/tests/strings/pcmk__scan_min_int_test.c assert_int_equal(pcmk__scan_min_int("", &result, 1), EINVAL); assert_int_equal 24 lib/common/tests/strings/pcmk__scan_min_int_test.c assert_int_equal(result, 1); assert_int_equal 26 lib/common/tests/strings/pcmk__scan_min_int_test.c assert_int_equal(pcmk__scan_min_int(NULL, &result, 1), pcmk_rc_ok); assert_int_equal 27 lib/common/tests/strings/pcmk__scan_min_int_test.c assert_int_equal(result, 1); assert_int_equal 35 lib/common/tests/strings/pcmk__scan_min_int_test.c assert_int_equal(pcmk__scan_min_int("100", &result, 1024), pcmk_rc_ok); assert_int_equal 36 lib/common/tests/strings/pcmk__scan_min_int_test.c assert_int_equal(result, 1024); assert_int_equal 44 lib/common/tests/strings/pcmk__scan_min_int_test.c assert_int_equal(pcmk__scan_min_int("20000000000000000", &result, 100), EOVERFLOW); assert_int_equal 45 lib/common/tests/strings/pcmk__scan_min_int_test.c assert_int_equal(result, INT_MAX); assert_int_equal 53 lib/common/tests/strings/pcmk__scan_min_int_test.c assert_int_equal(pcmk__scan_min_int("1024", &result, 1024), pcmk_rc_ok); assert_int_equal 54 lib/common/tests/strings/pcmk__scan_min_int_test.c assert_int_equal(result, 1024); assert_int_equal 56 lib/common/tests/strings/pcmk__scan_min_int_test.c assert_int_equal(pcmk__scan_min_int("2048", &result, 1024), pcmk_rc_ok); assert_int_equal 57 lib/common/tests/strings/pcmk__scan_min_int_test.c assert_int_equal(result, 2048); assert_int_equal 23 lib/common/tests/strings/pcmk__scan_port_test.c assert_int_equal(pcmk__scan_port("", &result), EINVAL); assert_int_equal 24 lib/common/tests/strings/pcmk__scan_port_test.c assert_int_equal(result, -1); assert_int_equal 32 lib/common/tests/strings/pcmk__scan_port_test.c assert_int_equal(pcmk__scan_port("abc", &result), EINVAL); assert_int_equal 33 lib/common/tests/strings/pcmk__scan_port_test.c assert_int_equal(result, -1); assert_int_equal 41 lib/common/tests/strings/pcmk__scan_port_test.c assert_int_equal(pcmk__scan_port("-1", &result), pcmk_rc_before_range); assert_int_equal 42 lib/common/tests/strings/pcmk__scan_port_test.c assert_int_equal(result, -1); assert_int_equal 43 lib/common/tests/strings/pcmk__scan_port_test.c assert_int_equal(pcmk__scan_port("65536", &result), pcmk_rc_after_range); assert_int_equal 44 lib/common/tests/strings/pcmk__scan_port_test.c assert_int_equal(result, -1); assert_int_equal 52 lib/common/tests/strings/pcmk__scan_port_test.c assert_int_equal(pcmk__scan_port("0", &result), pcmk_rc_ok); assert_int_equal 53 lib/common/tests/strings/pcmk__scan_port_test.c assert_int_equal(result, 0); assert_int_equal 55 lib/common/tests/strings/pcmk__scan_port_test.c assert_int_equal(pcmk__scan_port("80", &result), pcmk_rc_ok); assert_int_equal 56 lib/common/tests/strings/pcmk__scan_port_test.c assert_int_equal(result, 80); assert_int_equal 33 lib/common/tests/strings/pcmk__str_table_dup_test.c assert_int_equal(g_hash_table_size(copy), 0); assert_int_equal 50 lib/common/tests/strings/pcmk__str_table_dup_test.c assert_int_equal(g_hash_table_size(copy), 3); assert_int_equal 23 lib/common/tests/strings/pcmk__strcmp_test.c assert_int_equal(pcmk__strcmp(s1, s1, pcmk__str_none), 0); assert_int_equal 27 lib/common/tests/strings/pcmk__strcmp_test.c assert_int_equal(pcmk__strcmp(NULL, NULL, pcmk__str_none), 0); assert_int_equal 34 lib/common/tests/strings/pcmk__strcmp_test.c assert_int_equal(pcmk__strcmp(s1, NULL, pcmk__str_null_matches), 0); assert_int_equal 36 lib/common/tests/strings/pcmk__strcmp_test.c assert_int_equal(pcmk__strcmp(NULL, s1, pcmk__str_null_matches), 0); assert_int_equal 57 lib/common/tests/strings/pcmk__strcmp_test.c assert_int_equal(pcmk__strcmp(s1, s2, pcmk__str_casei), 0); assert_int_equal 66 lib/common/tests/strings/pcmk__strcmp_test.c assert_int_equal(pcmk__strcmp(NULL, "a..d", pcmk__str_regex), 1); assert_int_equal 67 lib/common/tests/strings/pcmk__strcmp_test.c assert_int_equal(pcmk__strcmp(s1, NULL, pcmk__str_regex), 1); assert_int_equal 68 lib/common/tests/strings/pcmk__strcmp_test.c assert_int_equal(pcmk__strcmp(s1, "a..d", pcmk__str_regex), 0); assert_int_equal 72 lib/common/tests/strings/pcmk__strcmp_test.c assert_int_equal(pcmk__strcmp(s2, "a..d", pcmk__str_regex|pcmk__str_casei), 0); assert_int_equal 76 lib/common/tests/strings/pcmk__strcmp_test.c assert_int_equal(pcmk__strcmp(s2, "*ab", pcmk__str_regex), 1); assert_int_equal 29 lib/common/tests/strings/pcmk__strikey_table_test.c assert_int_equal(g_hash_table_size(tbl), 1); assert_int_equal 33 lib/common/tests/strings/pcmk__strikey_table_test.c assert_int_equal(g_hash_table_size(tbl), 1); assert_int_equal 37 lib/common/tests/strings/pcmk__strikey_table_test.c assert_int_equal(g_hash_table_size(tbl), 1); assert_int_equal 29 lib/common/tests/strings/pcmk__strkey_table_test.c assert_int_equal(g_hash_table_size(tbl), 1); assert_int_equal 33 lib/common/tests/strings/pcmk__strkey_table_test.c assert_int_equal(g_hash_table_size(tbl), 1); assert_int_equal 37 lib/common/tests/strings/pcmk__strkey_table_test.c assert_int_equal(g_hash_table_size(tbl), 2); assert_int_equal 21 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version(NULL, NULL), 0); assert_int_equal 22 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version(NULL, "abc"), -1); assert_int_equal 23 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version(NULL, "1.0.1"), -1); assert_int_equal 24 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("abc", NULL), 1); assert_int_equal 25 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("1.0.1", NULL), 1); assert_int_equal 31 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("0.4.7", "0.4.7"), 0); assert_int_equal 32 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("1.0", "1.0"), 0); assert_int_equal 38 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("0.4.7", "0.4.8"), -1); assert_int_equal 39 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("0.4.8", "0.4.7"), 1); assert_int_equal 41 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("0.2.3", "0.3"), -1); assert_int_equal 42 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("0.3", "0.2.3"), 1); assert_int_equal 44 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("0.99", "1.0"), -1); assert_int_equal 45 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("1.0", "0.99"), 1); assert_int_equal 51 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("1.0", "1.0.1"), -1); assert_int_equal 52 lib/common/tests/utils/compare_version_test.c assert_int_equal(compare_version("1.0.1", "1.0"), 1); assert_int_equal 55 lib/common/tests/utils/crm_user_lookup_test.c assert_int_equal(crm_user_lookup("hauser", &uid, &gid), -ENOMEM); assert_int_equal 69 lib/common/tests/utils/crm_user_lookup_test.c assert_int_equal(crm_user_lookup("hauser", &uid, &gid), -EIO); assert_int_equal 83 lib/common/tests/utils/crm_user_lookup_test.c assert_int_equal(crm_user_lookup("hauser", &uid, &gid), -EINVAL); assert_int_equal 104 lib/common/tests/utils/crm_user_lookup_test.c assert_int_equal(crm_user_lookup("hauser", NULL, NULL), 0); assert_int_equal 111 lib/common/tests/utils/crm_user_lookup_test.c assert_int_equal(crm_user_lookup("hauser", &uid, &gid), 0); assert_int_equal 112 lib/common/tests/utils/crm_user_lookup_test.c assert_int_equal(uid, 1000); assert_int_equal 113 lib/common/tests/utils/crm_user_lookup_test.c assert_int_equal(gid, 1000); assert_int_equal 37 lib/common/tests/utils/pcmk_daemon_user_test.c assert_int_equal(pcmk_daemon_user(&uid, &gid), -EINVAL); assert_int_equal 55 lib/common/tests/utils/pcmk_daemon_user_test.c assert_int_equal(pcmk_daemon_user(NULL, NULL), 0); assert_int_equal 59 lib/common/tests/utils/pcmk_daemon_user_test.c assert_int_equal(pcmk_daemon_user(&uid, &gid), 0); assert_int_equal 60 lib/common/tests/utils/pcmk_daemon_user_test.c assert_int_equal(uid, 1000); assert_int_equal 61 lib/common/tests/utils/pcmk_daemon_user_test.c assert_int_equal(gid, 1000); assert_int_equal 41 lib/common/tests/xpath/pcmk__xpath_node_id_test.c assert_int_equal(strcmp(s, "xyz"), 0); assert_int_equal 45 lib/common/tests/xpath/pcmk__xpath_node_id_test.c assert_int_equal(strcmp(s, "xyz"), 0); assert_int_equal 26 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c assert_int_equal(pe_cron_range_satisfied(tm, xml), expected); assert_int_equal 34 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c assert_int_equal(pe_cron_range_satisfied(NULL, NULL), pcmk_rc_op_unsatisfied); assert_int_equal 41 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c assert_int_equal(pe_cron_range_satisfied(tm, NULL), pcmk_rc_ok);