[gnutls-devel] GnuTLS | Improve time adjustment logic in tests (!1754)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Wed Jul 5 18:27:25 CEST 2023




Andreas Metzler commented: https://gitlab.com/gnutls/gnutls/-/merge_requests/1754#note_1458558077

I had some related changes in pending on https://gitlab.com/ametzler/gnutls/-/commits/tmp-ametzler-2023-orphaned-process

The current status is broken (thanks to my changes), it left orphaned processes since some testsuite scripts expect
```sh
gnutls-timewrapper gnutls-serv .... &
wrapped_pid=$!
...
kill ${wrapped_pid}
```
to work. This does not work when gnutls-timewrapper() is a shell function instead of an external script and it does not work at all with faketime instead of datefudge since faketime forks the timewrappped process (datefudge uses exec) and `kill ${wrapped_pid}` would hit the faketime process instead of the server process.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1754#note_1458558077
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/20230705/2160d277/attachment.html>


More information about the Gnutls-devel mailing list