diff options
Diffstat (limited to 'src/tests/common_dom.c')
-rw-r--r-- | src/tests/common_dom.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tests/common_dom.c b/src/tests/common_dom.c index d3a7781c3..b96db8d90 100644 --- a/src/tests/common_dom.c +++ b/src/tests/common_dom.c @@ -53,6 +53,14 @@ create_dom_test_ctx(TALLOC_CTX *mem_ctx, goto fail; } + test_ctx->conf_dom_path = talloc_asprintf(test_ctx, + CONFDB_DOMAIN_PATH_TMPL, + domain_name); + if (test_ctx->conf_dom_path == NULL) { + DEBUG(SSSDBG_CRIT_FAILURE, "talloc_asprintf failed\n"); + goto fail; + } + /* Connect to the conf db */ ret = confdb_init(test_ctx, &test_ctx->confdb, test_ctx->confdb_path); if (ret != EOK) { |