Hi! > Add SIGCHLD flag when doing clone to signal parent when the child > terminates. > This flag is missed by commit c91af2ff. > > Signed-off-by: Wanlong Gao <[email protected]> > --- > testcases/kernel/syscalls/clone/clone05.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/testcases/kernel/syscalls/clone/clone05.c > b/testcases/kernel/syscalls/clone/clone05.c > index 4797b46..06b84ed 100644 > --- a/testcases/kernel/syscalls/clone/clone05.c > +++ b/testcases/kernel/syscalls/clone/clone05.c > @@ -60,7 +60,7 @@ int main(int ac, char **av) > for (lc = 0; TEST_LOOPING(lc); lc++) { > Tst_count = 0; > > - TEST(ltp_clone(CLONE_VM | CLONE_VFORK, child_fn, NULL, > + TEST(ltp_clone(CLONE_VM | CLONE_VFORK | SIGCHLD, child_fn, NULL, > CHILD_STACK_SIZE, child_stack)); > > if ((TEST_RETURN != -1) && (child_exited))
Sorry, I've missed that in the merge commit (I was a bit sleepy at the end of the day, should have postponed the merge till today). Thanks for the fix. -- Cyril Hrubis [email protected] ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
