tests 32 lib/common/tests/acl/pcmk_acl_required_test.c const struct CMUnitTest tests[] = { tests 37 lib/common/tests/acl/pcmk_acl_required_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 65 lib/common/tests/acl/xml_acl_denied_test.c const struct CMUnitTest tests[] = { tests 71 lib/common/tests/acl/xml_acl_denied_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 65 lib/common/tests/acl/xml_acl_enabled_test.c const struct CMUnitTest tests[] = { tests 71 lib/common/tests/acl/xml_acl_enabled_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 55 lib/common/tests/agents/pcmk_stonith_param_test.c const struct CMUnitTest tests[] = { tests 61 lib/common/tests/agents/pcmk_stonith_param_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 149 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c const struct CMUnitTest tests[] = { tests 165 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 45 lib/common/tests/flags/pcmk__clear_flags_as_test.c const struct CMUnitTest tests[] = { tests 52 lib/common/tests/flags/pcmk__clear_flags_as_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 31 lib/common/tests/flags/pcmk__set_flags_as_test.c const struct CMUnitTest tests[] = { tests 36 lib/common/tests/flags/pcmk__set_flags_as_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 38 lib/common/tests/flags/pcmk_all_flags_set_test.c const struct CMUnitTest tests[] = { tests 44 lib/common/tests/flags/pcmk_all_flags_set_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 32 lib/common/tests/flags/pcmk_any_flags_set_test.c const struct CMUnitTest tests[] = { tests 37 lib/common/tests/flags/pcmk_any_flags_set_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 61 lib/common/tests/health/pcmk__parse_health_strategy_test.c const struct CMUnitTest tests[] = { tests 67 lib/common/tests/health/pcmk__parse_health_strategy_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 42 lib/common/tests/health/pcmk__validate_health_strategy_test.c const struct CMUnitTest tests[] = { tests 48 lib/common/tests/health/pcmk__validate_health_strategy_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 41 lib/common/tests/io/pcmk__full_path_test.c const struct CMUnitTest tests[] = { tests 46 lib/common/tests/io/pcmk__full_path_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 86 lib/common/tests/io/pcmk__get_tmpdir_test.c const struct CMUnitTest tests[] = { tests 92 lib/common/tests/io/pcmk__get_tmpdir_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 32 lib/common/tests/iso8601/pcmk__readable_interval_test.c const struct CMUnitTest tests[] = { tests 37 lib/common/tests/iso8601/pcmk__readable_interval_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 148 lib/common/tests/lists/pcmk__subtract_lists_test.c const struct CMUnitTest tests[] = { tests 157 lib/common/tests/lists/pcmk__subtract_lists_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 56 lib/common/tests/nvpair/pcmk__xe_attr_is_true_test.c const struct CMUnitTest tests[] = { tests 63 lib/common/tests/nvpair/pcmk__xe_attr_is_true_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 66 lib/common/tests/nvpair/pcmk__xe_get_bool_attr_test.c const struct CMUnitTest tests[] = { tests 73 lib/common/tests/nvpair/pcmk__xe_get_bool_attr_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 39 lib/common/tests/nvpair/pcmk__xe_set_bool_attr_test.c const struct CMUnitTest tests[] = { tests 44 lib/common/tests/nvpair/pcmk__xe_set_bool_attr_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 217 lib/common/tests/operations/parse_op_key_test.c const struct CMUnitTest tests[] = { tests 233 lib/common/tests/operations/parse_op_key_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 31 lib/common/tests/operations/pcmk_is_probe_test.c const struct CMUnitTest tests[] = { tests 36 lib/common/tests/operations/pcmk_is_probe_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 49 lib/common/tests/operations/pcmk_xe_is_probe_test.c const struct CMUnitTest tests[] = { tests 54 lib/common/tests/operations/pcmk_xe_is_probe_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 154 lib/common/tests/operations/pcmk_xe_mask_probe_failure_test.c const struct CMUnitTest tests[] = { tests 161 lib/common/tests/operations/pcmk_xe_mask_probe_failure_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 60 lib/common/tests/results/pcmk__results_test.c const struct CMUnitTest tests[] = { tests 70 lib/common/tests/results/pcmk__results_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 76 lib/common/tests/scores/char2score_test.c const struct CMUnitTest tests[] = { tests 85 lib/common/tests/scores/char2score_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 74 lib/common/tests/scores/pcmk__add_scores_test.c const struct CMUnitTest tests[] = { tests 84 lib/common/tests/scores/pcmk__add_scores_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 62 lib/common/tests/scores/score2char_stack_test.c const struct CMUnitTest tests[] = { tests 69 lib/common/tests/scores/score2char_stack_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 52 lib/common/tests/scores/score2char_test.c const struct CMUnitTest tests[] = { tests 58 lib/common/tests/scores/score2char_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 54 lib/common/tests/strings/crm_get_msec_test.c const struct CMUnitTest tests[] = { tests 61 lib/common/tests/strings/crm_get_msec_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 61 lib/common/tests/strings/crm_is_true_test.c const struct CMUnitTest tests[] = { tests 68 lib/common/tests/strings/crm_is_true_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 94 lib/common/tests/strings/crm_str_to_boolean_test.c const struct CMUnitTest tests[] = { tests 103 lib/common/tests/strings/crm_str_to_boolean_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 97 lib/common/tests/strings/pcmk__add_word_test.c const struct CMUnitTest tests[] = { tests 107 lib/common/tests/strings/pcmk__add_word_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 28 lib/common/tests/strings/pcmk__btoa_test.c const struct CMUnitTest tests[] = { tests 33 lib/common/tests/strings/pcmk__btoa_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 48 lib/common/tests/strings/pcmk__char_in_any_str_test.c const struct CMUnitTest tests[] = { tests 56 lib/common/tests/strings/pcmk__char_in_any_str_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 44 lib/common/tests/strings/pcmk__compress_test.c const struct CMUnitTest tests[] = { tests 50 lib/common/tests/strings/pcmk__compress_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 61 lib/common/tests/strings/pcmk__ends_with_test.c const struct CMUnitTest tests[] = { tests 68 lib/common/tests/strings/pcmk__ends_with_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 77 lib/common/tests/strings/pcmk__guint_from_hash_test.c const struct CMUnitTest tests[] = { tests 85 lib/common/tests/strings/pcmk__guint_from_hash_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 73 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c const struct CMUnitTest tests[] = { tests 81 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 104 lib/common/tests/strings/pcmk__parse_ll_range_test.c const struct CMUnitTest tests[] = { tests 117 lib/common/tests/strings/pcmk__parse_ll_range_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 151 lib/common/tests/strings/pcmk__scan_double_test.c const struct CMUnitTest tests[] = { tests 164 lib/common/tests/strings/pcmk__scan_double_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 62 lib/common/tests/strings/pcmk__scan_min_int_test.c const struct CMUnitTest tests[] = { tests 70 lib/common/tests/strings/pcmk__scan_min_int_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 61 lib/common/tests/strings/pcmk__scan_port_test.c const struct CMUnitTest tests[] = { tests 69 lib/common/tests/strings/pcmk__scan_port_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 40 lib/common/tests/strings/pcmk__starts_with_test.c const struct CMUnitTest tests[] = { tests 46 lib/common/tests/strings/pcmk__starts_with_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 50 lib/common/tests/strings/pcmk__str_any_of_test.c const struct CMUnitTest tests[] = { tests 58 lib/common/tests/strings/pcmk__str_any_of_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 107 lib/common/tests/strings/pcmk__str_in_list_test.c const struct CMUnitTest tests[] = { tests 117 lib/common/tests/strings/pcmk__str_in_list_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 61 lib/common/tests/strings/pcmk__str_table_dup_test.c const struct CMUnitTest tests[] = { tests 68 lib/common/tests/strings/pcmk__str_table_dup_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 61 lib/common/tests/strings/pcmk__str_update_test.c const struct CMUnitTest tests[] = { tests 68 lib/common/tests/strings/pcmk__str_update_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 80 lib/common/tests/strings/pcmk__strcmp_test.c const struct CMUnitTest tests[] = { tests 89 lib/common/tests/strings/pcmk__strcmp_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 44 lib/common/tests/strings/pcmk__strikey_table_test.c const struct CMUnitTest tests[] = { tests 49 lib/common/tests/strings/pcmk__strikey_table_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 44 lib/common/tests/strings/pcmk__strkey_table_test.c const struct CMUnitTest tests[] = { tests 49 lib/common/tests/strings/pcmk__strkey_table_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 72 lib/common/tests/strings/pcmk__trim_test.c const struct CMUnitTest tests[] = { tests 81 lib/common/tests/strings/pcmk__trim_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 57 lib/common/tests/utils/compare_version_test.c const struct CMUnitTest tests[] = { tests 65 lib/common/tests/utils/compare_version_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 45 lib/common/tests/utils/crm_meta_name_test.c const struct CMUnitTest tests[] = { tests 51 lib/common/tests/utils/crm_meta_name_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 59 lib/common/tests/utils/crm_meta_value_test.c const struct CMUnitTest tests[] = { tests 66 lib/common/tests/utils/crm_meta_value_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 118 lib/common/tests/utils/crm_user_lookup_test.c const struct CMUnitTest tests[] = { tests 126 lib/common/tests/utils/crm_user_lookup_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 66 lib/common/tests/utils/pcmk_daemon_user_test.c const struct CMUnitTest tests[] = { tests 72 lib/common/tests/utils/pcmk_daemon_user_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 64 lib/common/tests/utils/pcmk_hostname_test.c const struct CMUnitTest tests[] = { tests 70 lib/common/tests/utils/pcmk_hostname_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 58 lib/common/tests/utils/pcmk_str_is_infinity_test.c const struct CMUnitTest tests[] = { tests 67 lib/common/tests/utils/pcmk_str_is_infinity_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 55 lib/common/tests/utils/pcmk_str_is_minus_infinity_test.c const struct CMUnitTest tests[] = { tests 64 lib/common/tests/utils/pcmk_str_is_minus_infinity_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 52 lib/common/tests/xpath/pcmk__xpath_node_id_test.c const struct CMUnitTest tests[] = { tests 59 lib/common/tests/xpath/pcmk__xpath_node_id_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 669 lib/pengine/tests/native/native_find_rsc_test.c const struct CMUnitTest tests[] = { tests 688 lib/pengine/tests/native/native_find_rsc_test.c return cmocka_run_group_tests(tests, setup, teardown); tests 149 lib/pengine/tests/native/pe_base_name_eq_test.c const struct CMUnitTest tests[] = { tests 158 lib/pengine/tests/native/pe_base_name_eq_test.c return cmocka_run_group_tests(tests, setup, teardown); tests 118 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c const struct CMUnitTest tests[] = { tests 140 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 39 lib/pengine/tests/unpack/pe_base_name_end_test.c const struct CMUnitTest tests[] = { tests 46 lib/pengine/tests/unpack/pe_base_name_end_test.c return cmocka_run_group_tests(tests, NULL, NULL); tests 65 maint/gnulib/lib/bitset/stats.c bitset_stats_info->types[BITSET_TYPE_ (BSET)].tests++ tests 87 maint/gnulib/lib/bitset/stats.c unsigned tests; tests 193 maint/gnulib/lib/bitset/stats.c stats->tests, stats->cache_tests, tests 194 maint/gnulib/lib/bitset/stats.c stats->tests ? 100.0 * stats->cache_tests / stats->tests : 0); tests 36 maint/gnulib/tests/test-dirname.c static struct test tests[] = { tests 137 maint/gnulib/tests/test-dirname.c for (t = tests; t->name; t++) tests 36 maint/gnulib/tests/test-filenamecat.c static char const *const tests[][3] = tests 54 maint/gnulib/tests/test-filenamecat.c for (i = 0; i < sizeof tests / sizeof tests[0]; i++) tests 57 maint/gnulib/tests/test-filenamecat.c char const *const *t = tests[i]; tests 65 maint/gnulib/tests/test-regex.c } const tests[] = { tests 133 maint/gnulib/tests/test-regex.c for (i = 0; i < sizeof (tests) / sizeof (tests[0]); ++i) tests 135 maint/gnulib/tests/test-regex.c n = regcomp (&re, tests[i].pattern, tests[i].flags); tests 140 maint/gnulib/tests/test-regex.c report_error ("%s: regcomp %zd failed: %s", tests[i].pattern, i, buf); tests 144 maint/gnulib/tests/test-regex.c if (regexec (&re, tests[i].string, tests[i].nmatch, rm, 0)) tests 146 maint/gnulib/tests/test-regex.c report_error ("%s: regexec %zd failed", tests[i].pattern, i); tests 151 maint/gnulib/tests/test-regex.c for (n = 0; n < tests[i].nmatch; ++n) tests 152 maint/gnulib/tests/test-regex.c if (rm[n].rm_so != tests[i].rm[n].rm_so tests 153 maint/gnulib/tests/test-regex.c || rm[n].rm_eo != tests[i].rm[n].rm_eo) tests 155 maint/gnulib/tests/test-regex.c if (tests[i].rm[n].rm_so == -1 && tests[i].rm[n].rm_eo == -1) tests 158 maint/gnulib/tests/test-regex.c tests[i].pattern, i, n,