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/torture.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'source4/torture/torture.h') diff --git a/source4/torture/torture.h b/source4/torture/torture.h index ce55ac037d..1a1cd7aba9 100644 --- a/source4/torture/torture.h +++ b/source4/torture/torture.h @@ -22,16 +22,16 @@ #ifndef __TORTURE_H__ #define __TORTURE_H__ +#include "torture/ui.h" + struct smbcli_state; -struct torture_context; -struct torture_op { - const char *name; - BOOL (*fn)(struct torture_context *); - BOOL (*multi_fn)(struct smbcli_state *, int ); - struct torture_op *prev, *next; + +struct torture_suite_list { + struct torture_suite *suite; + struct torture_suite_list *prev, *next; }; -extern struct torture_op * torture_ops; +extern struct torture_suite_list * torture_suites; extern BOOL use_oplocks; extern BOOL torture_showall; -- cgit