summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2017-04-24 15:09:36 -0700
committerJeremy Allison <jra@samba.org>2017-05-05 15:52:11 +0200
commit6a53ce5dd77075ebbbcca5b7558563cd6c87aa9f (patch)
tree1dc1a118f1ee7b2e23bf72f65aea79d110a973de /nsswitch
parentc99994eb5a01d882ada9e581c2824facf103b7b7 (diff)
downloadsamba-6a53ce5dd77075ebbbcca5b7558563cd6c87aa9f.tar.gz
s4: torture: Add TALLOC_CTX * to torture_winbind_init().
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org>
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/libwbclient/tests/wbclient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nsswitch/libwbclient/tests/wbclient.c b/nsswitch/libwbclient/tests/wbclient.c
index b3c93a199c4..c5428afac43 100644
--- a/nsswitch/libwbclient/tests/wbclient.c
+++ b/nsswitch/libwbclient/tests/wbclient.c
@@ -925,9 +925,9 @@ static bool test_wbc_getgroups(struct torture_context *tctx)
return true;
}
-struct torture_suite *torture_wbclient(void)
+struct torture_suite *torture_wbclient(TALLOC_CTX *ctx)
{
- struct torture_suite *suite = torture_suite_create(talloc_autofree_context(), "wbclient");
+ struct torture_suite *suite = torture_suite_create(ctx, "wbclient");
torture_suite_add_simple_test(suite, "wbcPing", test_wbc_ping);
torture_suite_add_simple_test(suite, "wbcPingDc", test_wbc_pingdc);