summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-02 07:51:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:55 -0500
commit500d5523d2a83234d6bfbf264d78293426488bfc (patch)
tree2a90456d248fb4c27184771ac2ede645356e6025 /source4/torture
parent1a988ec9af7960616fb4661b20d86ff05146d836 (diff)
downloadsamba-500d5523d2a83234d6bfbf264d78293426488bfc.tar.gz
samba-500d5523d2a83234d6bfbf264d78293426488bfc.tar.bz2
samba-500d5523d2a83234d6bfbf264d78293426488bfc.zip
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)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/torture.c4
1 files changed, 3 insertions, 1 deletions
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) {