summaryrefslogtreecommitdiff
path: root/server/tests
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-05-28 14:41:32 -0400
committerSimo Sorce <ssorce@redhat.com>2009-05-28 15:41:05 -0400
commitd21ea70d9bd18e24026c5e6388866ff0af313b37 (patch)
tree62955549421cdded5487207239ab753dc5ca7f2f /server/tests
parent181f25a1fb70d47490c1b82e9e968f77e2fab019 (diff)
downloadsssd-d21ea70d9bd18e24026c5e6388866ff0af313b37.tar.gz
sssd-d21ea70d9bd18e24026c5e6388866ff0af313b37.tar.bz2
sssd-d21ea70d9bd18e24026c5e6388866ff0af313b37.zip
Enable enumeration in sysdb tests
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/sysdb-tests.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/server/tests/sysdb-tests.c b/server/tests/sysdb-tests.c
index 5620119d..20e85f7b 100644
--- a/server/tests/sysdb-tests.c
+++ b/server/tests/sysdb-tests.c
@@ -92,6 +92,14 @@ static int setup_sysdb_tests(struct sysdb_test_ctx **ctx)
return ret;
}
+ val[0] = "3";
+ ret = confdb_add_param(test_ctx->confdb, true, "config/domains/LOCAL", "enumerate", val);
+ if (ret != EOK) {
+ fail("Could not initialize LOCAL domain");
+ talloc_free(test_ctx);
+ return ret;
+ }
+
ret = sysdb_init(test_ctx, test_ctx->ev, test_ctx->confdb, "tests.ldb",
&test_ctx->sysdb);
if (ret != EOK) {