mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +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:
parent
6264d21401
commit
1132d57aed
@ -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",
|
||||
|
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user