1
0
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_getinfo_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 16:04:10 -07:00
parent 0a301e82d7
commit 47d74639d9
2 changed files with 3 additions and 3 deletions

View File

@ -474,10 +474,10 @@ static bool torture_smb2_getinfo(struct torture_context *tctx)
return ret;
}
struct torture_suite *torture_smb2_getinfo_init(void)
struct torture_suite *torture_smb2_getinfo_init(TALLOC_CTX *ctx)
{
struct torture_suite *suite = torture_suite_create(
talloc_autofree_context(), "getinfo");
ctx, "getinfo");
torture_suite_add_simple_test(suite, "complex", torture_smb2_getinfo);
torture_suite_add_simple_test(suite, "fsinfo", torture_smb2_fsinfo);

View File

@ -148,7 +148,7 @@ NTSTATUS torture_smb2_init(TALLOC_CTX *ctx)
struct torture_suite *suite = torture_suite_create(ctx, "smb2");
torture_suite_add_simple_test(suite, "connect", torture_smb2_connect);
torture_suite_add_suite(suite, torture_smb2_scan_init(suite));
torture_suite_add_suite(suite, torture_smb2_getinfo_init());
torture_suite_add_suite(suite, torture_smb2_getinfo_init(suite));
torture_suite_add_simple_test(suite, "setinfo", torture_smb2_setinfo);
torture_suite_add_suite(suite, torture_smb2_lock_init(suite));
torture_suite_add_suite(suite, torture_smb2_read_init(suite));