Bug#1031553: gnutls28: please depend on faketime instead of datefudge

Andreas Metzler ametzler at bebt.de
Sun Feb 19 17:28:05 GMT 2023


On 2023-02-18 Nicolas Boulenguez <nicolas at debian.org> wrote:
[...]
> The attached diff replaces datefudge with faketime in gnutls28.
> The change only affects tests.
> A test fails after a local build, but the timestamps seem correct.
[...]

Hello Nicolas,

That is caused by changing the date specs to include a space ...
-EXP_OCSP_DATE="2016-03-27"
+EXP_OCSP_DATE="2016-03-27 00:00:00"

... combined with unquoted args to faketime:
-datefudge -s ${EXP_OCSP_DATE} \
+faketime -f ${EXP_OCSP_DATE} \

I will try to get this applied upstream before changing Debian (unless
somebody else beats me to it), but it might take some time.

cu Andreas



More information about the Pkg-gnutls-maint mailing list