diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-10-30 00:17:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:24:42 -0500 |
commit | 108de297a7b576b624d5471c116ad6c734c63e14 (patch) | |
tree | ea413297bf39a3f0bd135ecc6fb532ba6234c719 /source4/torture/util_smb.c | |
parent | 72b164d2e94a73d4d1231b7d0b44ed400d2d8470 (diff) | |
download | samba-108de297a7b576b624d5471c116ad6c734c63e14.tar.gz samba-108de297a7b576b624d5471c116ad6c734c63e14.tar.bz2 samba-108de297a7b576b624d5471c116ad6c734c63e14.zip |
r19510: Make smbtorture's `nprocs' parameter a parametric option.
(This used to be commit f5d6b3ca29788d171d53822a26295ae895a5ed8f)
Diffstat (limited to 'source4/torture/util_smb.c')
-rw-r--r-- | source4/torture/util_smb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/util_smb.c b/source4/torture/util_smb.c index 9473ab018b..75fa9648f4 100644 --- a/source4/torture/util_smb.c +++ b/source4/torture/util_smb.c @@ -608,6 +608,7 @@ double torture_create_procs(struct torture_context *tctx, volatile bool *child_status_out; int synccount; int tries = 8; + int torture_nprocs = lp_parm_int(-1, "torture", "nprocs", 4); double start_time_limit = 10 + (torture_nprocs * 1.5); struct timeval tv; |