[LTP] [PATCH] fcntl/fcntl17: break test if fork failed

Cyril Hrubis chrubis@suse.cz
Tue Apr 19 16:33:54 CEST 2016


Hi!
>  		stop_children();
> +		waitpid(child_pid1, &child_stat, 0);
> +		waitpid(child_pid2, &child_stat, 0);
> +		waitpid(child_pid3, &child_stat, 0);
> +		child_pid1 = 0;
> +		child_pid2 = 0;
> +		child_pid3 = 0;

I've moved these lines to the stop_children() function and pushed,
thanks.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list