summaryrefslogtreecommitdiff
path: root/source/param/tests
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-17 12:23:44 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-17 12:23:44 +0200
commitb4e1ae07a284c044704322446c94351c2decff91 (patch)
tree73eb7bbf9a3357095da4770be1b7a40aa4a97682 /source/param/tests
parent2d1ca8cb7a1c39894e5f232f7e84936e6e1830ee (diff)
downloadsamba-b4e1ae07a284c044704322446c94351c2decff91.tar.gz
Specify event_context to ldb_wrap_connect explicitly.
Diffstat (limited to 'source/param/tests')
-rw-r--r--source/param/tests/share.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/param/tests/share.c b/source/param/tests/share.c
index 6d03b4e0492..c64b5c607a5 100644
--- a/source/param/tests/share.c
+++ b/source/param/tests/share.c
@@ -182,12 +182,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", tctx->lp_ctx, (struct share_context **)data));
+ return NT_STATUS_IS_OK(share_get_context_by_name(tctx, "ldb", tctx->ev, 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", tctx->lp_ctx, (struct share_context **)data));
+ return NT_STATUS_IS_OK(share_get_context_by_name(tctx, "classic", tctx->ev, tctx->lp_ctx, (struct share_context **)data));
}
static bool teardown(struct torture_context *tctx, void *data)