1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

added a torture target for building all torture progs. Fixed a typo in locktest

This commit is contained in:
Andrew Tridgell 0001-01-01 00:00:00 +00:00
parent dd12c47645
commit fd0d729ce0
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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)