From 32ce168a3f687286926bc4dc2d6b882eece4a1a0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 19 Jun 2001 02:06:12 +0000 Subject: added a torture target for building all torture progs. Fixed a typo in locktest (This used to be commit fd0d729ce0d9a057e867001c2ea52c8599713b28) --- source3/Makefile.in | 3 +++ source3/torture/locktest.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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) -- cgit