From 500d5523d2a83234d6bfbf264d78293426488bfc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 2 Jan 2005 07:51:13 +0000 Subject: r4475: fixed smbd to work with the small changes in the ldb API (the most important change was in the ldb_msg_add_*() routines, which now use the msg as a context, and thus it needs to be a talloc ptr) (This used to be commit 1a4713bfd0e519f3eb7b3241121ff914a6eeef18) --- source4/torture/torture.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/torture') diff --git a/source4/torture/torture.c b/source4/torture/torture.c index 83a81fb7dc..ed3dbb401b 100644 --- a/source4/torture/torture.c +++ b/source4/torture/torture.c @@ -2199,6 +2199,8 @@ double torture_create_procs(BOOL (*fn)(struct smbcli_state *, int), BOOL *result int num_unc_names = 0; struct timeval tv; + *result = True; + synccount = 0; signal(SIGCONT, sigcont); @@ -2492,7 +2494,7 @@ static BOOL run_test(const char *name) init_iconv(); printf("Running %s\n", torture_ops[i].name); if (torture_ops[i].multi_fn) { - BOOL result; + BOOL result = False; t = torture_create_procs(torture_ops[i].multi_fn, &result); if (!result) { -- cgit