From 920c1ca95c499194430a18a9f2186670c6861cc4 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 17 Jun 2006 00:17:50 +0000 Subject: r16328: Wrap all existing tests in simple single-function testsuites. (This used to be commit 7e811adf59841936b7e634fca4e95630f890c5af) --- source4/torture/local/sddl.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'source4/torture/local/sddl.c') diff --git a/source4/torture/local/sddl.c b/source4/torture/local/sddl.c index cb5919283f..2db1006380 100644 --- a/source4/torture/local/sddl.c +++ b/source4/torture/local/sddl.c @@ -24,7 +24,6 @@ #include "libcli/security/security.h" #include "torture/torture.h" #include "librpc/gen_ndr/ndr_security.h" -#include "torture/ui.h" /* @@ -98,9 +97,9 @@ static const char *examples[] = { }; /* test a set of example SDDL strings */ -BOOL torture_local_sddl(struct torture_context *torture) +struct torture_suite *torture_local_sddl(TALLOC_CTX *mem_ctx) { - struct torture_suite *suite = torture_suite_create(torture, "LOCAL-SDDL"); + struct torture_suite *suite = torture_suite_create(mem_ctx, "LOCAL-SDDL"); int i; for (i = 0; i < ARRAY_SIZE(examples); i++) { @@ -109,5 +108,5 @@ BOOL torture_local_sddl(struct torture_context *torture) test_sddl, examples[i]); } - return torture_run_suite(torture, suite); + return suite; } -- cgit