summaryrefslogtreecommitdiff
path: root/source4/torture/torture.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-06-17 00:17:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:10 -0500
commit920c1ca95c499194430a18a9f2186670c6861cc4 (patch)
tree4fc108e421b6448ed756c5b7dd8b5db9f6d88c27 /source4/torture/torture.h
parent5b7ee5e7d69f73618d7cc7a4229b98c429506084 (diff)
downloadsamba-920c1ca95c499194430a18a9f2186670c6861cc4.tar.gz
samba-920c1ca95c499194430a18a9f2186670c6861cc4.tar.bz2
samba-920c1ca95c499194430a18a9f2186670c6861cc4.zip
r16328: Wrap all existing tests in simple single-function testsuites.
(This used to be commit 7e811adf59841936b7e634fca4e95630f890c5af)
Diffstat (limited to 'source4/torture/torture.h')
-rw-r--r--source4/torture/torture.h14
1 files changed, 7 insertions, 7 deletions
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;