[gnutls-devel] GnuTLS | [Draft] Use faketime instead of datefudge (!1716)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Mon Feb 27 01:49:17 CET 2023



Merge request https://gitlab.com/gnutls/gnutls/-/merge_requests/1716 was reviewed by Daiki Ueno

--
  
Daiki Ueno started a new discussion on tests/cert-tests/alt-chain.sh: https://gitlab.com/gnutls/gnutls/-/merge_requests/1716#note_1292671576

>  echo ""
> -datefudge -s "2017-5-10" \
> +faketime -f "2017-5-10 00:00:00" \

I'm OK with merging this without waiting for #1463, but if I may suggest something, we could have a wrapper shell function that does:
- if `faketime` is found, use it (i.e., invoke the rest of command-line with it); otherwise fallback to `datefudge`
- if `datefudge` is found, use it; otherwise exit 77

That way some other distros not shipping `faketime` don't need to introduce a new package until they decide to switch.


-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1716
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/20230227/8a708291/attachment.html>


More information about the Gnutls-devel mailing list