[PATCH] time/tst-mktime2: Improve test error reporting
Gabriel F. T. Gomes
gabriel@inconstante.eti.br
Mon Oct 22 15:07:00 GMT 2018
On Fri, 19 Oct 2018, Florian Weimer wrote:
>2018-10-19 Florian Weimer <fweimer@redhat.com>
>
> * time/tst-mktime2.c (N_STRINGS): Remove.
> (set_timezone): New function.
> (spring_forward_gap): Call it. Use FAIL_EXIT1.
> (mktime_test1): Report localtime failure and check errno value.
> Use TEST_COMPARE.
> (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
> (do_test): Remove alarm call. Use set_timezone and array_length.
Looks good to me.
More information about the Libc-alpha
mailing list