[LTP] [PATCH 5/8] waitpid11: use the new API

Cyril Hrubis chrubis@suse.cz
Mon Jul 18 17:01:14 CEST 2016


Hi!
This test does nearly the same as waitpid06, but here we pick up the
children by the process group instead of getting them all with -1 as a
pid.

I guess that we could create a function that would take an array of
pids, it's lenght and waitpid pid parameter and would assert that all
children pids in the array could be waited for. Then we could reuse the
function in waitpid06 passing whole array and -1 and here passing first
half of the array and 0 then second half of the array and -group...

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list