[PATCH wayland] test-runner: wait for concrete pid
daniel at fooishbar.org
Tue Feb 3 02:48:40 PST 2015
On 2 February 2015 at 09:40, Marek Chalupa <mchqwerty at gmail.com> wrote:
> After running a test in fork, we were waiting for any child to terminate.
> It is OK unless the child forks again. If the child calls fork, the waitid can
> catch the child's child termination, stop block and run another test
> while the former test is still running. This is racy i. e. when adding socket.
> Since we have test compositor which uses fork, this situation can occur
> pretty frequently.
> Signed-off-by: Marek Chalupa <mchqwerty at gmail.com>
Reviewed-by: Daniel Stone <daniels at collabora.com>
More information about the wayland-devel