mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s4: torture: Add a TALLOC_CTX * to torture_smb2_lock_init().
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org>
This commit is contained in:
parent
1132d57aed
commit
248035114b
@ -3114,10 +3114,10 @@ done:
|
||||
|
||||
/* basic testing of SMB2 locking
|
||||
*/
|
||||
struct torture_suite *torture_smb2_lock_init(void)
|
||||
struct torture_suite *torture_smb2_lock_init(TALLOC_CTX *ctx)
|
||||
{
|
||||
struct torture_suite *suite =
|
||||
torture_suite_create(talloc_autofree_context(), "lock");
|
||||
torture_suite_create(ctx, "lock");
|
||||
torture_suite_add_1smb2_test(suite, "valid-request",
|
||||
test_valid_request);
|
||||
torture_suite_add_1smb2_test(suite, "rw-none", test_lock_rw_none);
|
||||
|
@ -150,7 +150,7 @@ NTSTATUS torture_smb2_init(TALLOC_CTX *ctx)
|
||||
torture_suite_add_suite(suite, torture_smb2_scan_init());
|
||||
torture_suite_add_suite(suite, torture_smb2_getinfo_init());
|
||||
torture_suite_add_simple_test(suite, "setinfo", torture_smb2_setinfo);
|
||||
torture_suite_add_suite(suite, torture_smb2_lock_init());
|
||||
torture_suite_add_suite(suite, torture_smb2_lock_init(suite));
|
||||
torture_suite_add_suite(suite, torture_smb2_read_init());
|
||||
torture_suite_add_suite(suite, torture_smb2_create_init(suite));
|
||||
torture_suite_add_suite(suite, torture_smb2_acls_init(suite));
|
||||
|
Loading…
Reference in New Issue
Block a user