diff options
author | Jeremy Allison <jra@samba.org> | 2017-04-24 14:41:26 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-05-05 15:52:11 +0200 |
commit | e7e56bcc72cb4e4372f03a66e62bebb3005c633b (patch) | |
tree | 2dd6b30563cfe3669e6262506c821c9366e540aa /source4/torture/smbtorture.h | |
parent | 1d6667381cfe568be2a0731225a6fed332343dc8 (diff) | |
download | samba-e7e56bcc72cb4e4372f03a66e62bebb3005c633b.tar.gz |
s4: torture: Change torture_register_suite() to add a TALLOC_CTX *.
Change callers to use the passed in TALLOC_CTX *
instead of talloc_autofree_context().
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
Diffstat (limited to 'source4/torture/smbtorture.h')
-rw-r--r-- | source4/torture/smbtorture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/smbtorture.h b/source4/torture/smbtorture.h index 7480f241d97..5a75f06bce5 100644 --- a/source4/torture/smbtorture.h +++ b/source4/torture/smbtorture.h @@ -35,7 +35,7 @@ extern int torture_numasync; struct torture_test; int torture_init(TALLOC_CTX *); -bool torture_register_suite(struct torture_suite *suite); +bool torture_register_suite(TALLOC_CTX *, struct torture_suite *suite); void torture_shell(struct torture_context *tctx); void torture_print_testsuites(bool structured); bool torture_run_named_tests(struct torture_context *torture, const char *name, |