r8537: cope better with the small file handle limit on some systems in the build...
authorAndrew Tridgell <tridge@samba.org>
Mon, 18 Jul 2005 06:26:03 +0000 (06:26 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:29:36 +0000 (13:29 -0500)
(This used to be commit 6202a9d099619a0ba78809647039cbc7622f1d3d)

source4/torture/raw/search.c

index 061e0c96f35c0377132b0038db5fbcca46410a08..4c57e3e52e7ba84a193149778b1ab0f15793714a 100644 (file)
@@ -440,7 +440,7 @@ static NTSTATUS multiple_search(struct smbcli_state *cli,
        union smb_search_first io;
        union smb_search_next io2;
        NTSTATUS status;
-       const int per_search = 300;
+       const int per_search = 100;
        struct multiple_result *result = data;
 
        io.generic.level = level;
@@ -925,7 +925,7 @@ done:
 */
 static BOOL test_many_dirs(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
 {
-       const int num_dirs = 300;
+       const int num_dirs = 100;
        int i, fnum, n;
        char *fname, *dname;
        BOOL ret = True;