summaryrefslogtreecommitdiff
path: root/source4/torture/torture.c
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2006-05-05 09:52:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:37 -0500
commit9604b161add82ed4e9039b81c59235ea678defca (patch)
tree9fc6ebabeb1dbf35e2e7d66c19ac9aa573b6c5ae /source4/torture/torture.c
parentb2154e79b127d655a9ad875f7d4fd6e21cb1d8b8 (diff)
downloadsamba-9604b161add82ed4e9039b81c59235ea678defca.tar.gz
samba-9604b161add82ed4e9039b81c59235ea678defca.tar.bz2
samba-9604b161add82ed4e9039b81c59235ea678defca.zip
r15456: Inspired by a short discussion with abartlet on IRC.
- create "async" parameter for smbtorture to categorise async tests potentially hard for windows servers - create "num-async" parameter to specify the number of simultaneous async requests to be made - move RPC-ASYNCBIND test from "dangerous" to "async" (I should probably do the same for many others async tests...) It's an interesting way to determine resources availability on windows servers... rafal (This used to be commit 0d008fbea0aec279d389cff676a4319262475d17)
Diffstat (limited to 'source4/torture/torture.c')
-rw-r--r--source4/torture/torture.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/torture.c b/source4/torture/torture.c
index 9852d886f8..e4470991a4 100644
--- a/source4/torture/torture.c
+++ b/source4/torture/torture.c
@@ -55,6 +55,7 @@ _PUBLIC_ int torture_numops=10;
_PUBLIC_ int torture_entries=1000;
_PUBLIC_ int torture_failures=1;
_PUBLIC_ int torture_seed=0;
+_PUBLIC_ int torture_numasync=100;
_PUBLIC_ BOOL use_oplocks;
static int procnum; /* records process count number when forking */
static struct smbcli_state *current_cli;