[LTP] [PATCH] setreuid07.c: Rewrite the test using new LTP API

Richard Palethorpe rpalethorpe@suse.de
Tue Feb 7 14:37:26 CET 2023


Hello,

Pushed with changes!

I replaced the waitpid logic with tst_reap_children

> +	SAFE_WAITPID(pid, &status, 0);
> +	if (!WIFEXITED(status) || (WEXITSTATUS(status) != 0))
> +		exit(WEXITSTATUS(status));


-- 
Thank you,
Richard.


More information about the ltp mailing list