diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-03-08 15:28:12 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-03-08 15:28:12 +0100 |
commit | 2bf39edc9d0abf3306bd25b9c40d88aceb029be7 (patch) | |
tree | 6ab2ba13797418ca65b935b5d99d002719373596 /source4/torture | |
parent | 0c6de7c9598889a469084bf15da49b1a2589cff7 (diff) | |
download | samba-2bf39edc9d0abf3306bd25b9c40d88aceb029be7.tar.gz samba-2bf39edc9d0abf3306bd25b9c40d88aceb029be7.tar.bz2 samba-2bf39edc9d0abf3306bd25b9c40d88aceb029be7.zip |
Push SOVERSION and VERSION out of perl code.
(This used to be commit 0ba8ac6a14c62ff9edfe9f0bf43b8a7406b85291)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/config.mk | 2 | ||||
-rw-r--r-- | source4/torture/smbtorture.c | 1 | ||||
-rw-r--r-- | source4/torture/torture.c | 9 |
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"); |