diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-06-17 00:17:50 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:09:10 -0500 |
commit | 920c1ca95c499194430a18a9f2186670c6861cc4 (patch) | |
tree | 4fc108e421b6448ed756c5b7dd8b5db9f6d88c27 /source4/torture/local/messaging.c | |
parent | 5b7ee5e7d69f73618d7cc7a4229b98c429506084 (diff) | |
download | samba-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/local/messaging.c')
-rw-r--r-- | source4/torture/local/messaging.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source4/torture/local/messaging.c b/source4/torture/local/messaging.c index 38d3056f6e..8161c3ea4f 100644 --- a/source4/torture/local/messaging.c +++ b/source4/torture/local/messaging.c @@ -24,7 +24,6 @@ #include "lib/events/events.h" #include "lib/messaging/irpc.h" #include "torture/torture.h" -#include "torture/ui.h" static uint32_t msg_pong; @@ -145,9 +144,9 @@ static BOOL test_ping_speed(struct torture_context *torture, const void *_data) return True; } -BOOL torture_local_messaging(struct torture_context *torture) +struct torture_suite *torture_local_messaging(TALLOC_CTX *mem_ctx) { - struct torture_suite *s = torture_suite_create(torture, "LOCAL-MESSAGING"); + struct torture_suite *s = torture_suite_create(mem_ctx, "LOCAL-MESSAGING"); torture_suite_add_simple_tcase(s, "ping_speed", test_ping_speed, NULL); - return torture_run_suite(torture, s); + return s; } |