mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s4: torture: Add TALLOC_CTX * to torture_smb2_durable_open_disconnect_init(), torture_smb2_durable_open_init()
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org>
This commit is contained in:
parent
44a1dc3634
commit
b8a616ef3d
@ -2753,10 +2753,10 @@ done:
|
||||
}
|
||||
|
||||
|
||||
struct torture_suite *torture_smb2_durable_open_init(void)
|
||||
struct torture_suite *torture_smb2_durable_open_init(TALLOC_CTX *ctx)
|
||||
{
|
||||
struct torture_suite *suite =
|
||||
torture_suite_create(talloc_autofree_context(), "durable-open");
|
||||
torture_suite_create(ctx, "durable-open");
|
||||
|
||||
torture_suite_add_1smb2_test(suite, "open-oplock", test_durable_open_open_oplock);
|
||||
torture_suite_add_1smb2_test(suite, "open-lease", test_durable_open_open_lease);
|
||||
@ -2793,10 +2793,10 @@ struct torture_suite *torture_smb2_durable_open_init(void)
|
||||
return suite;
|
||||
}
|
||||
|
||||
struct torture_suite *torture_smb2_durable_open_disconnect_init(void)
|
||||
struct torture_suite *torture_smb2_durable_open_disconnect_init(TALLOC_CTX *ctx)
|
||||
{
|
||||
struct torture_suite *suite =
|
||||
torture_suite_create(talloc_autofree_context(),
|
||||
torture_suite_create(ctx,
|
||||
"durable-open-disconnect");
|
||||
|
||||
torture_suite_add_1smb2_test(suite, "open-oplock-disconnect",
|
||||
|
@ -156,8 +156,9 @@ NTSTATUS torture_smb2_init(TALLOC_CTX *ctx)
|
||||
torture_suite_add_suite(suite, torture_smb2_acls_init(suite));
|
||||
torture_suite_add_suite(suite, torture_smb2_notify_init());
|
||||
torture_suite_add_suite(suite, torture_smb2_notify_disabled_init());
|
||||
torture_suite_add_suite(suite, torture_smb2_durable_open_init());
|
||||
torture_suite_add_suite(suite, torture_smb2_durable_open_disconnect_init());
|
||||
torture_suite_add_suite(suite, torture_smb2_durable_open_init(suite));
|
||||
torture_suite_add_suite(suite,
|
||||
torture_smb2_durable_open_disconnect_init(suite));
|
||||
torture_suite_add_suite(suite, torture_smb2_durable_v2_open_init());
|
||||
torture_suite_add_suite(suite, torture_smb2_dir_init(suite));
|
||||
torture_suite_add_suite(suite, torture_smb2_lease_init());
|
||||
|
Loading…
Reference in New Issue
Block a user