summaryrefslogtreecommitdiffstats
path: root/src/tests/common.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-06-23 17:50:45 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-07-01 11:43:14 +0200
commit919cfb623e9b725eaa654c6e1b513d1305057314 (patch)
tree95d4280d3c37cd758029d8e695470581bfe53efb /src/tests/common.h
parent0f495aa73529b06b0a8b4c39cfd098351c4f6760 (diff)
downloadsssd-919cfb623e9b725eaa654c6e1b513d1305057314.tar.gz
sssd-919cfb623e9b725eaa654c6e1b513d1305057314.tar.xz
sssd-919cfb623e9b725eaa654c6e1b513d1305057314.zip
TESTS: Add confdb domain base DN to sss_test_ctx
Creation of the path to the domain's confdb entry was duplicated in the tests. Rather than adding yet another duplication, I added the path as another field of the sss_test_ctx structure. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/tests/common.h')
-rw-r--r--src/tests/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/common.h b/src/tests/common.h
index 2e71b2295..9065db39e 100644
--- a/src/tests/common.h
+++ b/src/tests/common.h
@@ -64,6 +64,7 @@ struct sss_test_ctx {
struct sss_domain_info *dom;
struct sss_names_ctx *nctx;
char *confdb_path;
+ char *conf_dom_path;
bool done;
int error;