summaryrefslogtreecommitdiff
path: root/source4/torture/rap
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-25 16:01:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:59:13 -0500
commit909b111f587705a45f63540b39968f1af58a9b5d (patch)
tree48355b5250c40932b0c5a9dde2e5ade2c3fc29df /source4/torture/rap
parent6c5853aa8d6dfbfeb96d705cbd157544352f810e (diff)
downloadsamba-909b111f587705a45f63540b39968f1af58a9b5d.tar.gz
samba-909b111f587705a45f63540b39968f1af58a9b5d.tar.bz2
samba-909b111f587705a45f63540b39968f1af58a9b5d.zip
r14720: Add torture_context argument to all torture tests
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
Diffstat (limited to 'source4/torture/rap')
-rw-r--r--source4/torture/rap/rap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/torture/rap/rap.c b/source4/torture/rap/rap.c
index bdc2d0d764..9c4a8ba48c 100644
--- a/source4/torture/rap/rap.c
+++ b/source4/torture/rap/rap.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "libcli/libcli.h"
+#include "torture/torture.h"
#include "torture/util.h"
#include "libcli/rap/rap.h"
#include "libcli/raw/libcliraw.h"
@@ -427,7 +428,7 @@ static BOOL test_rap(struct smbcli_state *cli)
return res;
}
-BOOL torture_raw_rap(void)
+BOOL torture_raw_rap(struct torture_context *torture)
{
struct smbcli_state *cli;
BOOL ret = True;
@@ -449,7 +450,7 @@ BOOL torture_raw_rap(void)
return ret;
}
-BOOL torture_rap_scan(void)
+BOOL torture_rap_scan(struct torture_context *torture)
{
TALLOC_CTX *mem_ctx;
struct smbcli_state *cli;