[PATCH wayland] test-runner: wait for concrete pid

Bryce Harrington bryce at osg.samsung.com
Wed Feb 4 19:43:40 PST 2015


On Tue, Feb 03, 2015 at 10:48:40AM +0000, Daniel Stone wrote:
> 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>

Thanks, applied.

   48bf640..8094426  master -> master


More information about the wayland-devel mailing list