[gnutls-devel] GnuTLS | Avoid tests killing entire process groups (!1463)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Fri Aug 27 17:36:10 CEST 2021




Daiki Ueno started a new discussion on tests/tls13/prf-early.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1463#note_663050433

>  {
>  	int status = 0;
>  
> -	kill(child, SIGTERM);
> -	wait(&status);
> +	if (child) {

If we replace all the occurrences of `terminate` with `exit` in child process, then I suppose adding `assert(child)` might make more sense?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1463#note_663050433
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20210827/66c15a46/attachment.html>


More information about the Gnutls-devel mailing list