/sssd-io/src/tests/cmocka/data_provider/ |
H A D | test_dp_builtin.c | 33 #define TESTS_PATH "tp_" BASE_FILE_STEM macro 54 test_ctx->tctx = create_dom_test_ctx(test_ctx, TESTS_PATH, TEST_CONF_DB, 182 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME); 183 test_dom_suite_setup(TESTS_PATH); 187 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME);
|
H A D | test_dp_request.c | 31 #define TESTS_PATH "tp_" BASE_FILE_STEM macro 52 test_ctx->tctx = create_dom_test_ctx(test_ctx, TESTS_PATH, TEST_CONF_DB, 460 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME); 461 test_dom_suite_setup(TESTS_PATH); 465 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME);
|
/sssd-io/src/tests/cmocka/ |
H A D | test_ipa_dn.c | 28 #define TESTS_PATH "tp_" BASE_FILE_STEM macro 47 test_ctx->tctx = create_dom_test_ctx(test_ctx, TESTS_PATH, TEST_CONF_DB, 227 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME); 228 test_dom_suite_setup(TESTS_PATH); 232 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME);
|
H A D | test_sysdb_domain_resolution_order.c | 36 #define TESTS_PATH "tp_" BASE_FILE_STEM macro 57 test_dom_suite_setup(TESTS_PATH); 59 test_ctx->tctx = create_dom_test_ctx(test_ctx, TESTS_PATH, 73 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME); 182 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, LOCAL_SYSDB_FILE); 183 test_dom_suite_setup(TESTS_PATH); 187 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, LOCAL_SYSDB_FILE);
|
H A D | test_copy_keytab.c | 31 #define TESTS_PATH "tp_" BASE_FILE_STEM macro 33 #define KEYTAB_PATH TESTS_PATH "/keytab_test.keytab" 34 #define EMPTY_KEYTAB_PATH TESTS_PATH "/empty_keytab_test.keytab" 49 test_dom_suite_setup(TESTS_PATH); 97 ret = rmdir(TESTS_PATH);
|
H A D | test_io.c | 43 #define TESTS_PATH "tp_" BASE_FILE_STEM macro 44 #define FILE_TEMPLATE TESTS_PATH"/test_io.XXXXXX" 45 #define NON_EX_PATH TESTS_PATH"/non-existent-path" 75 ret = mkdir(TESTS_PATH, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH); 98 ret = rmdir(TESTS_PATH); 120 ret = mkdir(TESTS_PATH, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH); 123 data->dirp = opendir(TESTS_PATH); 127 TESTS_PATH, strerror(err)); 159 ret = rmdir(TESTS_PATH);
|
H A D | test_krb5_common.c | 43 #define TESTS_PATH "tp_" BASE_FILE_STEM macro 61 test_ctx->tctx = create_dom_test_ctx(test_ctx, TESTS_PATH, TEST_CONF_DB, 288 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME); 289 test_dom_suite_setup(TESTS_PATH); 293 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME);
|
H A D | test_sdap_certmap.c | 34 #define TESTS_PATH "certmap_" BASE_FILE_STEM macro 66 test_dom_suite_setup(TESTS_PATH); 68 test_ctx->tctx = create_dom_test_ctx(test_ctx, TESTS_PATH, 95 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME);
|
H A D | test_sysdb_certmap.c | 34 #define TESTS_PATH "certmap_" BASE_FILE_STEM macro 57 test_dom_suite_setup(TESTS_PATH); 59 test_ctx->tctx = create_dom_test_ctx(test_ctx, TESTS_PATH, 73 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME); 253 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, LOCAL_SYSDB_FILE); 254 test_dom_suite_setup(TESTS_PATH); 258 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, LOCAL_SYSDB_FILE);
|
H A D | test_data_provider_be.c | 29 #define TESTS_PATH "tests_dp_be" macro 84 test_ctx->tctx = create_dom_test_ctx(test_ctx, TESTS_PATH, 248 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME); 249 test_dom_suite_setup(TESTS_PATH); 253 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME);
|
H A D | test_dp_opts.c | 33 #define TESTS_PATH "tp_" BASE_FILE_STEM macro 224 tctx = create_dom_test_ctx(global_talloc_context, TESTS_PATH, TEST_CONF_DB, 520 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME); 521 test_dom_suite_setup(TESTS_PATH); 525 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME);
|
H A D | test_ldap_id_cleanup.c | 39 #define TESTS_PATH "tp_" BASE_FILE_STEM macro 61 ret = mkdir(TESTS_PATH, 0775); 73 conf_db = talloc_asprintf(test_ctx, "%s/%s", TESTS_PATH, TEST_CONF_FILE); 102 TESTS_PATH, &test_ctx->domain); 334 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_FILE, LOCAL_SYSDB_FILE); 335 test_dom_suite_setup(TESTS_PATH); 339 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_FILE, LOCAL_SYSDB_FILE);
|
H A D | test_negcache.c | 51 #define TESTS_PATH "tp_" BASE_FILE_STEM macro 612 tc = create_dom_test_ctx(ts, TESTS_PATH, TEST_CONF_DB, 692 tc = create_dom_test_ctx(ts, TESTS_PATH, TEST_CONF_DB, 758 tc = create_dom_test_ctx(ts, TESTS_PATH, TEST_CONF_DB, 990 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME); 991 test_dom_suite_setup(TESTS_PATH); 995 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME);
|
H A D | test_responder_common.c | 31 #define TESTS_PATH "tp_" BASE_FILE_STEM macro 107 parse_inp_ctx->tctx = create_dom_test_ctx(parse_inp_ctx, TESTS_PATH, 391 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME); 392 test_dom_suite_setup(TESTS_PATH); 396 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME);
|
H A D | test_sysdb_subdomains.c | 35 #define TESTS_PATH "tp_" BASE_FILE_STEM macro 70 test_dom_suite_setup(TESTS_PATH); 72 test_ctx->tctx = create_multidom_test_ctx(test_ctx, TESTS_PATH, 86 test_multidom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, domains); 597 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, LOCAL_SYSDB_FILE); 598 test_dom_suite_setup(TESTS_PATH); 602 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, LOCAL_SYSDB_FILE);
|
H A D | test_tools_colondb.c | 28 #define TESTS_PATH "tp_" BASE_FILE_STEM macro 83 create_empty_file(test_ctx, TESTS_PATH, TESTS_FILE); 86 TESTS_PATH "/" TESTS_FILE); 109 create_empty_file(test_ctx, TESTS_PATH, TESTS_FILE); 112 create_nonempty_file(test_ctx, TESTS_PATH, TESTS_FILE); 144 ret = unlink(TESTS_PATH "/" TESTS_FILE); 152 test_dom_suite_cleanup(TESTS_PATH, NULL, NULL); 164 TESTS_PATH "/" TESTS_FILE); 175 TESTS_PATH "/" TESTS_FILE); 186 TESTS_PATH "/" TESTS_FIL [all...] |
H A D | test_sdap_initgr.c | 46 #define TESTS_PATH "tp_" BASE_FILE_STEM macro 259 test_ctx->tctx = create_dom_test_ctx(test_ctx, TESTS_PATH, 282 test_ctx->tctx = create_multidom_test_ctx(test_ctx, TESTS_PATH, 308 test_ctx->tctx = create_multidom_test_ctx(test_ctx, TESTS_PATH, 531 test_multidom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, domains); 532 test_dom_suite_setup(TESTS_PATH); 536 test_multidom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, domains);
|
H A D | test_simple_access.c | 33 #define TESTS_PATH "tp_" BASE_FILE_STEM macro 60 simple_test_ctx->tctx = create_dom_test_ctx(simple_test_ctx, TESTS_PATH, 153 test_dom_suite_setup(TESTS_PATH); 163 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME); 488 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME); 828 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME); 829 test_dom_suite_setup(TESTS_PATH); 833 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME);
|
H A D | test_ad_common.c | 50 #define TESTS_PATH "tp_" BASE_FILE_STEM macro 53 #define KEYTAB_PATH TESTS_PATH"/keytab_test.keytab" 58 #define ONEWAY_KEYTAB_PATH TESTS_PATH"/oneway_test.keytab" 62 #define TESTS_PATH "tp_" BASE_FILE_STEM macro 88 test_dom_suite_setup(TESTS_PATH); 90 test_ctx->tctx = create_multidom_test_ctx(test_ctx, TESTS_PATH, 104 test_multidom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, domains); 396 test_dom_suite_setup(TESTS_PATH); 431 ret = rmdir(TESTS_PATH);
|
H A D | test_dyndns.c | 39 #define TESTS_PATH "tp_" BASE_FILE_STEM macro 955 dyndns_test_ctx->tctx = create_dom_test_ctx(dyndns_test_ctx, TESTS_PATH, 1077 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME); 1078 test_dom_suite_setup(TESTS_PATH); 1082 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME);
|
/sssd-io/src/tests/ |
H A D | auth-tests.c | 42 #define TESTS_PATH "tp_" BASE_FILE_STEM macro 63 ret = mkdir(TESTS_PATH, 0775); 65 fail("Could not create %s directory", TESTS_PATH); 85 conf_db = talloc_asprintf(test_ctx, "%s/%s", TESTS_PATH, TEST_CONF_FILE); 138 TESTS_PATH, &test_ctx->domain); 266 ret = unlink(TESTS_PATH"/"TEST_CONF_FILE); 273 ret = unlink(TESTS_PATH"/"LOCAL_SYSDB_FILE); 280 ret = rmdir(TESTS_PATH);
|
H A D | files-tests.c | 38 #define TESTS_PATH "tp_" BASE_FILE_STEM macro 51 mkdir(TESTS_PATH, 0700); 52 dir_path = mkdtemp(talloc_asprintf(test_ctx, "%s/%s", TESTS_PATH, tpl_dir)); 53 dst_path = mkdtemp(talloc_asprintf(test_ctx, "%s/%s", TESTS_PATH, tpl_dir)); 80 rmdir(TESTS_PATH);
|
H A D | sysdb_ssh-tests.c | 36 #define TESTS_PATH "tp_" BASE_FILE_STEM macro 58 ret = mkdir(TESTS_PATH, 0775); 60 fail("Could not create %s directory", TESTS_PATH); 80 conf_db = talloc_asprintf(test_ctx, "%s/%s", TESTS_PATH, TEST_CONF_FILE); 133 TESTS_PATH, &test_ctx->domain); 149 ret += unlink(TESTS_PATH"/"TEST_CONF_FILE); 150 ret += unlink(TESTS_PATH"/sssd.ldb"); 151 ret += rmdir(TESTS_PATH); 154 fprintf(stderr, "Unable to remove all test files from %s\n",TESTS_PATH);
|
H A D | krb5_utils-tests.c | 35 #define TESTS_PATH "tp_" BASE_FILE_STEM macro 118 user_dir = talloc_asprintf(tmp_ctx, "%s/%s/user", cwd, TESTS_PATH); 169 dirname = talloc_asprintf(tmp_ctx, "%s/%s/priv_ccdir", cwd, TESTS_PATH); 209 dirname = talloc_asprintf(tmp_ctx, "%s/%s/priv_ccdir", cwd, TESTS_PATH); 253 cwd, TESTS_PATH); 266 cwd, TESTS_PATH); 788 ret = mkdir(TESTS_PATH, 0775); 790 fprintf(stderr, "Could not create empty directory [%s]. ", TESTS_PATH); 792 fprintf(stderr, "Please remove [%s].\n", TESTS_PATH); 807 ret = rmdir(TESTS_PATH); [all...] |
/sssd-io/src/tests/cwrap/ |
H A D | test_negcache.c | 34 #define TESTS_PATH "tp_" BASE_FILE_STEM macro 128 test_dom_suite_setup(TESTS_PATH); 130 test_ctx->tctx = create_dom_test_ctx(test_ctx, TESTS_PATH, TEST_CONF_DB, 150 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME); 737 test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_DOM_NAME);
|