Fix: tests: use SIGSTOP for crash extraction test
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 10 Mar 2016 16:13:37 +0000 (11:13 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 10 Mar 2016 19:30:26 +0000 (14:30 -0500)
commit3cd54302c2926fb981e1a2719b33c25437dd3e67
treed3f422dcb891c8ec58f05e12d36531b97e16383c
parenta78634c5545d64167bfbb091f488a2fb3609013c
Fix: tests: use SIGSTOP for crash extraction test

Ensure that SIGKILL being received only by some consumer processes don't
trigger clean shutdown of other consumer processes (due to hang up of
communication FD by the session daemon).

Fix this by invoking a SIGSTOP on both sessiond and consumerd, and wait
until we see those process state change to "stopped" before proceeding
to send the SIGKILL.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
CC: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
CC: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/tools/crash/test_crash
tests/utils/utils.sh
This page took 0.0254 seconds and 4 git commands to generate.