summaryrefslogtreecommitdiff
path: root/source4/torture/local/registry.c
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/local/registry.c
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/local/registry.c')
-rw-r--r--source4/torture/local/registry.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/local/registry.c b/source4/torture/local/registry.c
index 95f7d3afe7..623d30a5d8 100644
--- a/source4/torture/local/registry.c
+++ b/source4/torture/local/registry.c
@@ -23,6 +23,7 @@
#include "includes.h"
#include "lib/registry/registry.h"
#include "lib/cmdline/popt_common.h"
+#include "torture/torture.h"
static BOOL test_hive(TALLOC_CTX *mem_ctx, const char *backend, const char *location)
{
@@ -80,7 +81,7 @@ static BOOL test_hive(TALLOC_CTX *mem_ctx, const char *backend, const char *loca
return True;
}
-BOOL torture_registry(void)
+BOOL torture_registry(struct torture_context *torture)
{
BOOL ret = True;
TALLOC_CTX *mem_ctx = talloc_init("torture_registry");