[PATCH] tst: Provide test for ctime

Florian Weimer fweimer@redhat.com
Sat Jan 23 22:17:42 GMT 2021


* Lukasz Majewski:

>> The test wrappers do not set TZ, so you end up with whatever TZ points
>> to, or the system is configured with via /etc/localtime.  ctime is
>> specified to use local time, not UTC.
>
> I think that I got your point. Do you propose to use the same code as
> in ./time/tst-y2039.c test?

Yes, please use setenv or putenv.

Thanks,
Florian
-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill



More information about the Libc-alpha mailing list