fix locktest default parameters
authorAndrew Tridgell <tridge@samba.org>
Tue, 20 Nov 2001 08:48:46 +0000 (08:48 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 20 Nov 2001 08:48:46 +0000 (08:48 +0000)
(This used to be commit f6a4b00aab9ca01d8dfed33252f3d5c5349d13b0)

source3/torture/locktest.c

index 5d48a1f0fac8f839c96156a02b702b5b3e60a1ed..26c0dcbd29ebbbdc19c14c9d1bbfbe504e871645 100644 (file)
@@ -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\
 ");
 }