diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-05-04 06:57:26 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-05-04 06:57:26 +0000 |
commit | a7820eb9af08771106e6e119c17e76be1174d5b3 (patch) | |
tree | 863f3b85713a01646b8f996059ef7a2111f3b328 /source3 | |
parent | 876dd8d9aabbf3a2f79bde50cce9399b39bb17f0 (diff) | |
download | samba-a7820eb9af08771106e6e119c17e76be1174d5b3.tar.gz samba-a7820eb9af08771106e6e119c17e76be1174d5b3.tar.bz2 samba-a7820eb9af08771106e6e119c17e76be1174d5b3.zip |
need LOCKING_OBJ in locktest now
(This used to be commit 89e71994450f479a0f3839f192d868924626fc84)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/Makefile.in | 2 | ||||
-rw-r--r-- | source3/utils/locktest.c | 10 |
2 files changed, 8 insertions, 4 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in index 076820ac7f..cdff36999b 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -270,7 +270,7 @@ SMBTORTURE_OBJ = utils/torture.o utils/nbio.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) \ +LOCKTEST_OBJ = utils/locktest.o $(LOCKING_OBJ) $(LIBSMB_OBJ) $(PARAM_OBJ) \ $(UBIQX_OBJ) $(LIB_OBJ) RPCTORTURE_OBJ = utils/rpctorture.o \ diff --git a/source3/utils/locktest.c b/source3/utils/locktest.c index 2e5a4fb65b..0d1c1719a8 100644 --- a/source3/utils/locktest.c +++ b/source3/utils/locktest.c @@ -37,7 +37,7 @@ static BOOL analyze; #define READ_PCT 50 #define LOCK_PCT 25 #define UNLOCK_PCT 65 -#define RANGE_MULTIPLE 1 +#define RANGE_MULTIPLE 32 struct record { char r1, r2; @@ -47,13 +47,17 @@ struct record { }; static struct record preset[] = { -#if 1 +#if 0 {36, 5, 1, 1, 1, 2, 1}, { 2, 6, 0, 1, 0, 2, 1}, {53, 92, 1, 1, 0, 0, 1}, {99, 11, 1, 1, 2, 1, 1}, #endif - }; +{36, 5, 1, 1, 1888, 960, 1}, +{47, 23, 0, 1, 0, 2176, 1}, +{84, 95, 1, 1, 3072, 96, 1}, +{65, 14, 0, 0, 2752, 352, 1}, +}; static struct record *recorded; |