From d21ea70d9bd18e24026c5e6388866ff0af313b37 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 28 May 2009 14:41:32 -0400 Subject: Enable enumeration in sysdb tests --- server/tests/sysdb-tests.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'server/tests') diff --git a/server/tests/sysdb-tests.c b/server/tests/sysdb-tests.c index 5620119d1..20e85f7b7 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) { -- cgit