summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in3
-rw-r--r--source3/torture/locktest.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index c0ef71af81..e0c8958189 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -82,6 +82,7 @@ PROGS2 = bin/smbpasswd bin/make_smbcodepage bin/make_unicodemap bin/rpcclient bi
MPROGS = @MPROGS@
WINBIND_PROGS = nsswitch/pam_winbind.so nsswitch/libnss_winbind.so bin/winbindd bin/wbinfo
PROGS = $(PROGS1) $(PROGS2) $(MPROGS) bin/nmblookup bin/make_printerdef bin/pdbedit @WINBIND_TARGETS@
+TORTURE_PROGS = bin/smbtorture bin/msgtest bin/masktest bin/locktest bin/locktest2
SHLIBS = bin/libsmbclient.so
SCRIPTS = $(srcdir)/script/smbtar $(srcdir)/script/addtosmbpass $(srcdir)/script/convert_smbpasswd
@@ -405,6 +406,8 @@ pam_smbpass : CHECK bin/pam_smbpass.@SHLIBEXT@
smbwrapper : CHECK bin/smbsh bin/smbwrapper.@SHLIBEXT@ @WRAP32@
+torture : CHECK $(TORTURE_PROGS)
+
smbtorture : CHECK bin/smbtorture
masktest : CHECK bin/masktest
diff --git a/source3/torture/locktest.c b/source3/torture/locktest.c
index 80dbba1e37..cee18624a4 100644
--- a/source3/torture/locktest.c
+++ b/source3/torture/locktest.c
@@ -34,7 +34,7 @@ static BOOL use_oplocks;
#define FILENAME "\\locktest.dat"
#define LOCKRANGE 1000
-#define LOCKBASE 0;
+#define LOCKBASE 0
/*
#define LOCKBASE (0x40000000 - 50)