From f6274959ba381b6b5d025cb0cee78665107a72a6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 10 Jan 2007 11:16:11 +0000 Subject: r20647: add cluster code (This used to be commit 5870830b99a8d76bda1ff5af3fcf8dda9aba50ec) --- source4/torture/gentest.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source4/torture/gentest.c') diff --git a/source4/torture/gentest.c b/source4/torture/gentest.c index 9ad41f77e5..0b0ab3f31c 100644 --- a/source4/torture/gentest.c +++ b/source4/torture/gentest.c @@ -1,3 +1,10 @@ +/* + add to build farm + add masktest and locktest too + add -W flag + convert to popt_common +*/ + /* Unix SMB/CIFS implementation. generic testing tool @@ -354,6 +361,7 @@ static int gen_int_range(uint_t min, uint_t max) static uint16_t gen_root_fid(int instance) { if (gen_chance(5)) return gen_fnum(instance); + if (gen_chance(2)) return BAD_HANDLE; return 0; } -- cgit