summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/config.mk2
-rw-r--r--source4/torture/smbtorture.c1
-rw-r--r--source4/torture/torture.c9
3 files changed, 8 insertions, 4 deletions
diff --git a/source4/torture/config.mk b/source4/torture/config.mk
index cb1752d2cf..0e38f88293 100644
--- a/source4/torture/config.mk
+++ b/source4/torture/config.mk
@@ -1,7 +1,5 @@
# TORTURE subsystem
[LIBRARY::torture]
-SO_VERSION = 0
-VERSION = 0.0.1
PC_FILE = torture.pc
PRIVATE_PROTO_HEADER = proto.h
PUBLIC_DEPENDENCIES = \
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c
index 4eeea73003..8f0b988ab4 100644
--- a/source4/torture/smbtorture.c
+++ b/source4/torture/smbtorture.c
@@ -31,7 +31,6 @@
#include "dynconfig.h"
#include "torture/torture.h"
-#include "build.h"
#include "lib/util/dlinklist.h"
#include "librpc/rpc/dcerpc.h"
#include "param/param.h"
diff --git a/source4/torture/torture.c b/source4/torture/torture.c
index 23b8ee3143..bd8d66cd72 100644
--- a/source4/torture/torture.c
+++ b/source4/torture/torture.c
@@ -21,7 +21,6 @@
#include "includes.h"
#include "system/time.h"
#include "torture/torture.h"
-#include "build.h"
#include "lib/util/dlinklist.h"
#include "param/param.h"
#include "lib/cmdline/popt_common.h"
@@ -48,6 +47,14 @@ bool torture_register_suite(struct torture_suite *suite)
int torture_init(void)
{
+ extern NTSTATUS torture_nbt_init();
+ extern NTSTATUS torture_nbench_init();
+ extern NTSTATUS torture_rap_init();
+ extern NTSTATUS torture_rpc_init();
+ extern NTSTATUS torture_smb2_init();
+ extern NTSTATUS torture_base_init();
+ extern NTSTATUS torture_net_init();
+ extern NTSTATUS torture_winbind_init();
init_module_fn static_init[] = { STATIC_torture_MODULES };
init_module_fn *shared_init = load_samba_modules(NULL, cmdline_lp_ctx, "torture");