diff options
author | Andrew Tridgell <tridge@samba.org> | 2007-01-10 11:16:11 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:37:24 -0500 |
commit | f6274959ba381b6b5d025cb0cee78665107a72a6 (patch) | |
tree | 750d88afc3f88f833162dc7d9ae93d844b61a4e4 /source4/torture/gentest.c | |
parent | 1cd4339b9a2786aa26691ca4f02fa93ab0958b88 (diff) | |
download | samba-f6274959ba381b6b5d025cb0cee78665107a72a6.tar.gz samba-f6274959ba381b6b5d025cb0cee78665107a72a6.tar.bz2 samba-f6274959ba381b6b5d025cb0cee78665107a72a6.zip |
r20647: add cluster code
(This used to be commit 5870830b99a8d76bda1ff5af3fcf8dda9aba50ec)
Diffstat (limited to 'source4/torture/gentest.c')
-rw-r--r-- | source4/torture/gentest.c | 8 |
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; } |