diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-10-10 05:40:32 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-10-10 05:40:32 +0000 |
commit | 4e73a3c0feb47c761fdcded9e6c2ac6d32534d9b (patch) | |
tree | 567ab5fc754a3df597d07e2e5870fa0a35e2bf77 /source4/torture/torture.c | |
parent | b382acea72c8cc8325142b4dc8e182c75f5e476b (diff) | |
download | samba-4e73a3c0feb47c761fdcded9e6c2ac6d32534d9b.tar.gz samba-4e73a3c0feb47c761fdcded9e6c2ac6d32534d9b.tar.bz2 samba-4e73a3c0feb47c761fdcded9e6c2ac6d32534d9b.zip |
fixed snprintf.c for systems that have only some of the *printf() family of functions
cope with servers that return bogus (too large) values in max_xmit
cope with a couple more error conditions in RAW-SFILEINFO
better startup time heuristics in NBENCH
(This used to be commit 89f7261ba589e5760b3cf9c3594eab9d7198dd7e)
Diffstat (limited to 'source4/torture/torture.c')
-rw-r--r-- | source4/torture/torture.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/torture.c b/source4/torture/torture.c index f54483ae45..fe1bddcc2a 100644 --- a/source4/torture/torture.c +++ b/source4/torture/torture.c @@ -3763,7 +3763,7 @@ static double create_procs(BOOL (*fn)(int), BOOL *result) volatile BOOL *child_status_out; int synccount; int tries = 8; - double start_time_limit = 10 + (nprocs * 0.5); + double start_time_limit = 10 + (nprocs * 1.5); synccount = 0; @@ -3808,7 +3808,7 @@ static double create_procs(BOOL (*fn)(int), BOOL *result) child_status[i] = getpid(); - while (child_status[i] && end_timer() < start_time_limit) msleep(2); + while (child_status[i] && end_timer() < start_time_limit) msleep(100); if (child_status[i]) { printf("Child %d failed to start!\n", i); |