summaryrefslogtreecommitdiff
path: root/source4/torture/local/idtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/local/idtree.c')
-rw-r--r--source4/torture/local/idtree.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source4/torture/local/idtree.c b/source4/torture/local/idtree.c
index a81eddedc3..1d317dbce3 100644
--- a/source4/torture/local/idtree.c
+++ b/source4/torture/local/idtree.c
@@ -22,7 +22,6 @@
#include "includes.h"
#include "torture/torture.h"
-#include "torture/ui.h"
static BOOL torture_local_idtree_simple(struct torture_context *test,
const void *_data)
@@ -93,10 +92,10 @@ static BOOL torture_local_idtree_simple(struct torture_context *test,
return True;
}
-BOOL torture_local_idtree(struct torture_context *torture)
+struct torture_suite *torture_local_idtree(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(torture, "LOCAL-IDTREE");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "LOCAL-IDTREE");
torture_suite_add_simple_tcase(suite, "idtree", torture_local_idtree_simple,
NULL);
- return torture_run_suite(torture, suite);
+ return suite;
}