diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-13 22:46:55 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:50:08 +0100 |
commit | e31abef15f7696cf39e9e81307f153da93568e02 (patch) | |
tree | 1cc4d50c7b25b8471399d4f0b971145e13519f2f /source4/param/tests | |
parent | 27b21a386ebeed66dd804a8b2e2256b739e32543 (diff) | |
download | samba-e31abef15f7696cf39e9e81307f153da93568e02.tar.gz samba-e31abef15f7696cf39e9e81307f153da93568e02.tar.bz2 samba-e31abef15f7696cf39e9e81307f153da93568e02.zip |
r26440: Remove more uses of global_loadparm.
(This used to be commit 8858cf39722f192865e531164c72039fd18d7a8d)
Diffstat (limited to 'source4/param/tests')
-rw-r--r-- | source4/param/tests/share.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/param/tests/share.c b/source4/param/tests/share.c index 1f8ecb2d84..390da9dede 100644 --- a/source4/param/tests/share.c +++ b/source4/param/tests/share.c @@ -178,12 +178,12 @@ static void tcase_add_share_tests(struct torture_tcase *tcase) static bool setup_ldb(struct torture_context *tctx, void **data) { - return NT_STATUS_IS_OK(share_get_context_by_name(tctx, "ldb", (struct share_context **)data)); + return NT_STATUS_IS_OK(share_get_context_by_name(tctx, "ldb", tctx->lp_ctx, (struct share_context **)data)); } static bool setup_classic(struct torture_context *tctx, void **data) { - return NT_STATUS_IS_OK(share_get_context_by_name(tctx, "classic", (struct share_context **)data)); + return NT_STATUS_IS_OK(share_get_context_by_name(tctx, "classic", tctx->lp_ctx, (struct share_context **)data)); } static bool teardown(struct torture_context *tctx, void *data) |