summaryrefslogtreecommitdiff
path: root/source4/torture/wscript_build
diff options
context:
space:
mode:
authorRalph Boehme <rb@sernet.de>2014-07-08 05:36:46 +0200
committerVolker Lendecke <vl@samba.org>2014-08-18 17:42:50 +0200
commite935c62657407ad4aada5484690db08f97e2de3c (patch)
tree3430db0c3ff5ac0ee2b6997c7a531a6308802aa5 /source4/torture/wscript_build
parented81d09adea09082028a8beaf7599d9b63ac5d87 (diff)
downloadsamba-e935c62657407ad4aada5484690db08f97e2de3c.tar.gz
s4:torture: add boilerplate code for testing specific VFS modules
Signed-off-by: Ralph Boehme <rb@sernet.de> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source4/torture/wscript_build')
-rwxr-xr-xsource4/torture/wscript_build12
1 files changed, 11 insertions, 1 deletions
diff --git a/source4/torture/wscript_build b/source4/torture/wscript_build
index 39192b02a0c..c0de7bbeac0 100755
--- a/source4/torture/wscript_build
+++ b/source4/torture/wscript_build
@@ -150,7 +150,17 @@ bld.SAMBA_MODULE('TORTURE_NTP',
internal_module=True
)
-TORTURE_MODULES = 'TORTURE_BASIC TORTURE_RAW torture_rpc TORTURE_RAP TORTURE_AUTH TORTURE_NBENCH TORTURE_UNIX TORTURE_LDAP TORTURE_NBT TORTURE_NET TORTURE_NTP torture_registry'
+bld.SAMBA_MODULE('TORTURE_VFS',
+ source='vfs/vfs.c',
+ allow_warnings=True,
+ subsystem='smbtorture',
+ deps='LIBCLI_SMB POPT_CREDENTIALS TORTURE_UTIL smbclient-raw TORTURE_RAW',
+ internal_module=True,
+ autoproto='vfs/proto.h',
+ init_function='torture_vfs_init'
+ )
+
+TORTURE_MODULES = 'TORTURE_BASIC TORTURE_RAW torture_rpc TORTURE_RAP TORTURE_AUTH TORTURE_NBENCH TORTURE_UNIX TORTURE_LDAP TORTURE_NBT TORTURE_NET TORTURE_NTP torture_registry TORTURE_VFS'
bld.SAMBA_SUBSYSTEM('torturemain',
source='smbtorture.c torture.c shell.c',