summaryrefslogtreecommitdiff
path: root/source4/torture/local/registry.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/local/registry.c')
-rw-r--r--source4/torture/local/registry.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source4/torture/local/registry.c b/source4/torture/local/registry.c
index 4c8d773a44..0e72c11aeb 100644
--- a/source4/torture/local/registry.c
+++ b/source4/torture/local/registry.c
@@ -24,7 +24,6 @@
#include "lib/registry/registry.h"
#include "lib/cmdline/popt_common.h"
#include "torture/torture.h"
-#include "torture/ui.h"
const static struct test_backend_settings {
const char *name;
@@ -77,9 +76,9 @@ static BOOL test_hive(struct torture_context *ctx, const void *_backend)
return True;
}
-BOOL torture_registry(struct torture_context *torture)
+struct torture_suite *torture_registry(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(torture,
+ struct torture_suite *suite = torture_suite_create(mem_ctx,
"LOCAL-REGISTRY");
int i;
@@ -89,5 +88,5 @@ BOOL torture_registry(struct torture_context *torture)
torture_suite_add_simple_tcase(suite, backends[i].name, test_hive, &backends[i]);
}
- return torture_run_suite(torture, suite);
+ return suite;
}