diff options
Diffstat (limited to 'source4/torture/local')
-rw-r--r-- | source4/torture/local/irpc.c | 2 | ||||
-rw-r--r-- | source4/torture/local/messaging.c | 2 | ||||
-rw-r--r-- | source4/torture/local/resolve.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/local/irpc.c b/source4/torture/local/irpc.c index bd52be09e2..3c177c4ece 100644 --- a/source4/torture/local/irpc.c +++ b/source4/torture/local/irpc.c @@ -217,7 +217,7 @@ static BOOL irpc_setup(struct torture_context *tctx, void **_data) lp_set_cmdline("lock dir", "lockdir.tmp"); - data->ev = event_context_init(tctx); + data->ev = tctx->ev; torture_assert(tctx, data->msg_ctx1 = messaging_init(tctx, cluster_id(MSG_ID1), data->ev), diff --git a/source4/torture/local/messaging.c b/source4/torture/local/messaging.c index f6ae8a3e8c..ce9928d91d 100644 --- a/source4/torture/local/messaging.c +++ b/source4/torture/local/messaging.c @@ -70,7 +70,7 @@ static bool test_ping_speed(struct torture_context *tctx) lp_set_cmdline("pid directory", "piddir.tmp"); - ev = event_context_init(mem_ctx); + ev = tctx->ev; msg_server_ctx = messaging_init(mem_ctx, cluster_id(1), ev); diff --git a/source4/torture/local/resolve.c b/source4/torture/local/resolve.c index 21a7392a14..d3bae21184 100644 --- a/source4/torture/local/resolve.c +++ b/source4/torture/local/resolve.c @@ -35,7 +35,7 @@ static bool test_async_resolve(struct torture_context *tctx) struct timeval tv = timeval_current(); TALLOC_CTX *mem_ctx = tctx; - ev = event_context_init(mem_ctx); + ev = tctx->ev; ZERO_STRUCT(n); n.name = host; |