summaryrefslogtreecommitdiffstats
path: root/source/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
commit2f14d7c9bca5e170b8d2c169801cb200021fd467 (patch)
tree742339b04be0fa2067cd7213c5ae24cdc4e7d75e /source/Makefile.in
parent74d42644e6e52808037975e909aa56c850838b76 (diff)
downloadsamba-2f14d7c9bca5e170b8d2c169801cb200021fd467.tar.gz
samba-2f14d7c9bca5e170b8d2c169801cb200021fd467.tar.xz
samba-2f14d7c9bca5e170b8d2c169801cb200021fd467.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.
Diffstat (limited to 'source/Makefile.in')
-rw-r--r--source/Makefile.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/source/Makefile.in b/source/Makefile.in
index 0daada257d5..076820ac7f1 100644
--- a/source/Makefile.in
+++ b/source/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)