summaryrefslogtreecommitdiff
path: root/source4/torture/torture.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-01-12 17:42:00 +0100
committerGünther Deschner <gd@samba.org>2010-01-14 19:48:29 +0100
commitd95ad11bc583c99f9bf8faeac7935880da19684b (patch)
tree3796dd38b0675ce6ee0110950089bf7345693c26 /source4/torture/torture.c
parent8573471154d63644bc581d0b6a80f73927ca3e93 (diff)
downloadsamba-d95ad11bc583c99f9bf8faeac7935880da19684b.tar.gz
s4-smbtorture: add rather simple libsmbclient torture testsuite.
Guenther
Diffstat (limited to 'source4/torture/torture.c')
-rw-r--r--source4/torture/torture.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/torture/torture.c b/source4/torture/torture.c
index 49a6a8c33dd..a93fbe33b05 100644
--- a/source4/torture/torture.c
+++ b/source4/torture/torture.c
@@ -50,6 +50,13 @@ NTSTATUS torture_libnetapi_init(void)
}
#endif
+#ifndef ENABLE_LIBSMBCLIENT
+NTSTATUS torture_libsmbclient_init(void)
+{
+ return NT_STATUS_OK;
+}
+#endif
+
_PUBLIC_ int torture_init(void)
{
extern NTSTATUS torture_base_init(void);
@@ -63,6 +70,7 @@ _PUBLIC_ int torture_init(void)
extern NTSTATUS torture_smb2_init(void);
extern NTSTATUS torture_net_init(void);
extern NTSTATUS torture_libnetapi_init(void);
+ extern NTSTATUS torture_libsmbclient_init(void);
extern NTSTATUS torture_raw_init(void);
extern NTSTATUS torture_unix_init(void);
extern NTSTATUS torture_winbind_init(void);