summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-15 03:29:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:44 -0500
commitd928bce0d8ef5abbb1ef8fe659836b22e62266d1 (patch)
tree3fa5841b229ce349869fe8c63b317a580d4f4c17
parentc7723f6eaf2a3d5fd32f530d0b88821c6d4246c7 (diff)
downloadsamba-d928bce0d8ef5abbb1ef8fe659836b22e62266d1.tar.gz
samba-d928bce0d8ef5abbb1ef8fe659836b22e62266d1.tar.bz2
samba-d928bce0d8ef5abbb1ef8fe659836b22e62266d1.zip
r18541: with 100 old style searches we can run out of file descriptors on some
systems. drop to 50 (This used to be commit ce5d5a187264af2b87e2919bdcc5f478cce02df9)
-rw-r--r--source4/torture/raw/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/raw/search.c b/source4/torture/raw/search.c
index d10bdf662b..822039d830 100644
--- a/source4/torture/raw/search.c
+++ b/source4/torture/raw/search.c
@@ -1019,7 +1019,7 @@ done:
*/
static BOOL test_many_dirs(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
{
- const int num_dirs = 100;
+ const int num_dirs = 50;
int i, fnum, n;
char *fname, *dname;
BOOL ret = True;