Searched defs:TESTS_PATH (Results 1 - 25 of 35) sorted by relevance

12

/sssd-io/src/tests/cmocka/data_provider/
H A Dtest_dp_builtin.c33 #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 Dtest_dp_request.c31 #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 Dtest_ipa_dn.c28 #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 Dtest_sysdb_domain_resolution_order.c36 #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 Dtest_copy_keytab.c31 #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 Dtest_io.c43 #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 Dtest_krb5_common.c43 #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 Dtest_sdap_certmap.c34 #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 Dtest_sysdb_certmap.c34 #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 Dtest_data_provider_be.c29 #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 Dtest_dp_opts.c33 #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 Dtest_ldap_id_cleanup.c39 #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 Dtest_negcache.c51 #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 Dtest_responder_common.c31 #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 Dtest_sysdb_subdomains.c35 #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 Dtest_tools_colondb.c28 #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 Dtest_sdap_initgr.c46 #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 Dtest_simple_access.c33 #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 Dtest_ad_common.c50 #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 Dtest_dyndns.c39 #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 Dauth-tests.c42 #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 Dfiles-tests.c38 #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 Dsysdb_ssh-tests.c36 #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 Dkrb5_utils-tests.c35 #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 Dtest_negcache.c34 #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);

Completed in 51 milliseconds

12