summaryrefslogtreecommitdiff
path: root/source3/Makefile.in
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-05-03 13:54:28 +0000
committerAndrew Tridgell <tridge@samba.org>2000-05-03 13:54:28 +0000
commit1d3d724dd1f1f6c8b329c49cc2d49e2e99499821 (patch)
treeca7901f2c999df430089ba8a66ec17c2908400e6 /source3/Makefile.in
parent20ce61ccc88dd3868176932736e03e4d85f1bfd0 (diff)
downloadsamba-1d3d724dd1f1f6c8b329c49cc2d49e2e99499821.tar.gz
samba-1d3d724dd1f1f6c8b329c49cc2d49e2e99499821.tar.bz2
samba-1d3d724dd1f1f6c8b329c49cc2d49e2e99499821.zip
added a nasty lock testing program
it opens 2 connections to each of 2 servers, and opens 2 fnums on the same file on each connection (a total of 8 file descriptors) then it does random lock/unlock/reopen requests in a 100 byte range on the file and compares the results from the 2 servers. strangely enough, NT fails this test against itself right now - I'm still trying to figure that out. (This used to be commit 2f14d7c9bca5e170b8d2c169801cb200021fd467)
Diffstat (limited to 'source3/Makefile.in')
-rw-r--r--source3/Makefile.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 0daada257d..076820ac7f 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -267,7 +267,10 @@ NMBLOOKUP_OBJ = utils/nmblookup.o $(PARAM_OBJ) $(UBIQX_OBJ) \
SMBTORTURE_OBJ = utils/torture.o utils/nbio.o $(LIBSMB_OBJ) $(PARAM_OBJ) \
$(UBIQX_OBJ) $(LIB_OBJ)
-MASKTEST_OBJ = utils/masktest.o smbd/mangle.o $(LIBSMB_OBJ) $(PARAM_OBJ) \
+MASKTEST_OBJ = utils/masktest.o $(LIBSMB_OBJ) $(PARAM_OBJ) \
+ $(UBIQX_OBJ) $(LIB_OBJ)
+
+LOCKTEST_OBJ = utils/locktest.o $(LIBSMB_OBJ) $(PARAM_OBJ) \
$(UBIQX_OBJ) $(LIB_OBJ)
RPCTORTURE_OBJ = utils/rpctorture.o \
@@ -306,6 +309,8 @@ smbtorture : CHECK bin/smbtorture
masktest : CHECK bin/masktest
+locktest : CHECK bin/locktest
+
rpctorture : CHECK bin/rpctorture
debug2html : CHECK bin/debug2html
@@ -476,6 +481,10 @@ bin/masktest: $(MASKTEST_OBJ) bin/.dummy
@echo Linking $@
@$(CC) $(FLAGS) -o $@ $(MASKTEST_OBJ) $(LDFLAGS) $(LIBS)
+bin/locktest: $(LOCKTEST_OBJ) bin/.dummy
+ @echo Linking $@
+ @$(CC) $(FLAGS) -o $@ $(LOCKTEST_OBJ) $(LDFLAGS) $(LIBS)
+
bin/rpctorture: $(RPCTORTURE_OBJ) bin/.dummy
@echo Linking $@
@$(CC) $(FLAGS) -o $@ $(RPCTORTURE_OBJ) $(LDFLAGS) $(LIBS)