1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

s4: torture: Add a TALLOC_CTX * to torture_smb2_lease_init().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
This commit is contained in:
Jeremy Allison 2017-04-24 15:31:25 -07:00
parent 6264d21401
commit 1132d57aed
2 changed files with 3 additions and 3 deletions

View File

@ -3909,10 +3909,10 @@ static bool test_lease_dynamic_share(struct torture_context *tctx,
return ret;
}
struct torture_suite *torture_smb2_lease_init(void)
struct torture_suite *torture_smb2_lease_init(TALLOC_CTX *ctx)
{
struct torture_suite *suite =
torture_suite_create(talloc_autofree_context(), "lease");
torture_suite_create(ctx, "lease");
torture_suite_add_1smb2_test(suite, "request", test_lease_request);
torture_suite_add_1smb2_test(suite, "break_twice",

View File

@ -162,7 +162,7 @@ NTSTATUS torture_smb2_init(TALLOC_CTX *ctx)
torture_suite_add_suite(suite,
torture_smb2_durable_v2_open_init(suite));
torture_suite_add_suite(suite, torture_smb2_dir_init(suite));
torture_suite_add_suite(suite, torture_smb2_lease_init());
torture_suite_add_suite(suite, torture_smb2_lease_init(suite));
torture_suite_add_suite(suite, torture_smb2_compound_init(suite));
torture_suite_add_suite(suite, torture_smb2_compound_find_init(suite));
torture_suite_add_suite(suite, torture_smb2_oplocks_init());