Skip to content

Commit

Permalink
s4: torture: Add a TALLOC_CTX * to torture_test_delete().
Browse files Browse the repository at this point in the history
Reviewed-by: Ralph Böhme <[email protected]>
Signed-off-by: Jeremy Allison <[email protected]>
  • Loading branch information
jrasamba committed May 5, 2017
1 parent 3400451 commit 0a301e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source4/torture/basic/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -1963,7 +1963,7 @@ NTSTATUS torture_base_init(TALLOC_CTX *ctx)
torture_suite_add_1smb_test(suite, "xcopy", run_xcopy);
torture_suite_add_1smb_test(suite, "iometer", run_iometer);
torture_suite_add_1smb_test(suite, "rename", torture_test_rename);
torture_suite_add_suite(suite, torture_test_delete());
torture_suite_add_suite(suite, torture_test_delete(suite));
torture_suite_add_1smb_test(suite, "properties", torture_test_properties);
torture_suite_add_1smb_test(suite, "mangle", torture_mangle);
torture_suite_add_1smb_test(suite, "openattr", torture_openattrtest);
Expand Down
4 changes: 2 additions & 2 deletions source4/torture/basic/delete.c
Original file line number Diff line number Diff line change
Expand Up @@ -2204,10 +2204,10 @@ static bool deltest23(struct torture_context *tctx,
/*
Test delete on close semantics.
*/
struct torture_suite *torture_test_delete(void)
struct torture_suite *torture_test_delete(TALLOC_CTX *ctx)
{
struct torture_suite *suite = torture_suite_create(
talloc_autofree_context(), "delete");
ctx, "delete");

torture_suite_add_2smb_test(suite, "deltest1", deltest1);
torture_suite_add_2smb_test(suite, "deltest2", deltest2);
Expand Down

0 comments on commit 0a301e8

Please sign in to comment.