[LTP] [RFC PATCH 6/6] syscalls/wait401: Rewrite to the new library
Cyril Hrubis
chrubis@suse.cz
Mon Apr 9 11:44:40 CEST 2018
Hi!
> This doesn't seem to test that wait4() waits. The child can
> end before call to wait4().
>
> What if added call to tst_process_state_wait() to child,
> so it waits on parent to sleep? If parent sleeps, then
> it's likely waiting on child.
That's a good idea, I've changed the test to do exactly that.
OK to commit with the changes you requested or should I resend the fixed
patchset?
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list