Re: [libvirt] [PATCHv2 4/7] tests: avoid data race

2010-12-18 Thread Matthias Bolte
2010/12/18 Eric Blake : > I got some spurious failures when commandhelper won the race and > ran to the point of parent detection prior to the intermediate > daemonizing process getting a chance to exit.  This fixes it. > > * tests/commandhelper.c (main): Checking for re-parenting to > init(1) is r

[libvirt] [PATCHv2 4/7] tests: avoid data race

2010-12-17 Thread Eric Blake
I got some spurious failures when commandhelper won the race and ran to the point of parent detection prior to the intermediate daemonizing process getting a chance to exit. This fixes it. * tests/commandhelper.c (main): Checking for re-parenting to init(1) is racy; instead check that we belong t