From 6c999cd12344f2bb8b1d2941210b4c205b3e0aad Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 2 Dec 2007 22:32:11 +0100 Subject: r26236: Remove more uses of global_loadparm or specify loadparm_context explicitly. (This used to be commit 5b29ef7c03d9ae76b0ca909e9f03a58e1bad3521) --- source4/param/tests/share.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/param/tests/share.c') diff --git a/source4/param/tests/share.c b/source4/param/tests/share.c index de93e3c591..26af71d06f 100644 --- a/source4/param/tests/share.c +++ b/source4/param/tests/share.c @@ -21,6 +21,7 @@ #include "includes.h" #include "param/share.h" +#include "param/param.h" #include "torture/torture.h" static bool test_list_empty(struct torture_context *tctx, @@ -196,7 +197,7 @@ struct torture_suite *torture_local_share(TALLOC_CTX *mem_ctx) struct torture_suite *suite = torture_suite_create(mem_ctx, "SHARE"); struct torture_tcase *tcase; - share_init(); + share_init(global_loadparm); tcase = torture_suite_add_tcase(suite, "ldb"); torture_tcase_set_fixture(tcase, setup_ldb, teardown); -- cgit