summaryrefslogtreecommitdiff
path: root/source3/torture/locktest.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-11-20 08:48:46 +0000
committerAndrew Tridgell <tridge@samba.org>2001-11-20 08:48:46 +0000
commite1eb073fa42fc06ec4015f9b7e8b377361d720d0 (patch)
tree9d78ab5506bac87d3109c8f589fc9dadcce820cc /source3/torture/locktest.c
parent4254f9151b4b355b78e494f7c05dacc59fe546e1 (diff)
downloadsamba-e1eb073fa42fc06ec4015f9b7e8b377361d720d0.tar.gz
samba-e1eb073fa42fc06ec4015f9b7e8b377361d720d0.tar.bz2
samba-e1eb073fa42fc06ec4015f9b7e8b377361d720d0.zip
fix locktest default parameters
(This used to be commit f6a4b00aab9ca01d8dfed33252f3d5c5349d13b0)
Diffstat (limited to 'source3/torture/locktest.c')
-rw-r--r--source3/torture/locktest.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/torture/locktest.c b/source3/torture/locktest.c
index 5d48a1f0fa..26c0dcbd29 100644
--- a/source3/torture/locktest.c
+++ b/source3/torture/locktest.c
@@ -33,11 +33,11 @@ static BOOL hide_unlock_fails;
static BOOL use_oplocks;
#define FILENAME "\\locktest.dat"
-#define LOCKRANGE 5
+#define LOCKRANGE 100
#define LOCKBASE 0
#define MINLENGTH 0
-#define ZERO_ZERO 1
+#define ZERO_ZERO 0
/*
#define LOCKBASE (0x40000000 - 50)
@@ -532,6 +532,7 @@ static void usage(void)
-o numops\n\
-u hide unlock fails\n\
-a (show all ops)\n\
+ -A analyse for minimal ops\n\
-O use oplocks\n\
");
}