summaryrefslogtreecommitdiff
path: root/source4/torture/gentest.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/gentest.c')
-rw-r--r--source4/torture/gentest.c8
1 files changed, 8 insertions, 0 deletions
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;
}