s4:torture: fix multi_smb_test child status tracking.
authorMichael Adam <obnox@samba.org>
Thu, 21 Aug 2014 08:32:00 +0000 (10:32 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 10 Sep 2014 11:15:17 +0000 (13:15 +0200)
commit868e8f42a08f9cb75cb9ab728169faf368a3e7f5
tree0027a50712940dba8c8a05a4f8557f366d47507a
parent589344802df9916bbfcd12317e703d3b6cbbba8e
s4:torture: fix multi_smb_test child status tracking.

The original code in torture_start_procs() lost status of
child status. So the affected test caseses
(defer_open, ntdeny1, bench-torture, and also direct
 torture_start_proxy-user bench-nbench) were not always
able to correctly detect and treat errors in the worker children.

With this patch, torture_create_procs() correctly puts
child result and reason into top level torture_result(),
thereby in particular fixing remaining unexpected errors
in the flapping deferopen test.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Wed Sep 10 13:15:17 CEST 2014 on sn-devel-104
source4/torture/util_smb.c