Hi!
> I came accross the following rare issue:
> 
> setpgid03    1  TPASS  :  setpgid SUCCESS to set errno to EPERM
> setpgid03    2  TFAIL  :  setpgid FAILED, expect EACCES got 1
> 
> I suppose it may happen if the test host is under stress.
> 
> To prevent this it would be better to use tst_checkpoint interface
> for parent-child synchronisations.

Pushed.

I've added a follow up patch that removes the alarm() timeout code in
the child and does a few more fixes.

The timeout should better be handled, if handled at all, in the
checkpoint code. I would not care much about this case because when the
parent is dead does not talk to the child the test will fail anyway...

-- 
Cyril Hrubis
chru...@suse.cz

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to