summaryrefslogtreecommitdiff
path: root/source/param/tests
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-02 22:32:11 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:47:15 +0100
commit5b29ef7c03d9ae76b0ca909e9f03a58e1bad3521 (patch)
treeb4a2034f64477150c047012385c93aa6bce5ae67 /source/param/tests
parente9039782204389cc827e76da319d5ccf6d33be46 (diff)
downloadsamba-5b29ef7c03d9ae76b0ca909e9f03a58e1bad3521.tar.gz
r26236: Remove more uses of global_loadparm or specify loadparm_context explicitly.
Diffstat (limited to 'source/param/tests')
-rw-r--r--source/param/tests/share.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/param/tests/share.c b/source/param/tests/share.c
index de93e3c591a..26af71d06f8 100644
--- a/source/param/tests/share.c
+++ b/source/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);