summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-06-19 02:06:12 +0000
committerAndrew Tridgell <tridge@samba.org>2001-06-19 02:06:12 +0000
commit32ce168a3f687286926bc4dc2d6b882eece4a1a0 (patch)
tree549c61a93078f523271ce671bf0bc2e1a2e668b7 /source3
parentffb63e4f8ec2b7390cbb00bca74a9bedb8399a91 (diff)
downloadsamba-32ce168a3f687286926bc4dc2d6b882eece4a1a0.tar.gz
samba-32ce168a3f687286926bc4dc2d6b882eece4a1a0.tar.bz2
samba-32ce168a3f687286926bc4dc2d6b882eece4a1a0.zip
added a torture target for building all torture progs. Fixed a typo in locktest
(This used to be commit fd0d729ce0d9a057e867001c2ea52c8599713b28)
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)