|
From: | Paul Eggert |
Subject: | bug#48085: [PATCH 3/3] mktime: improve tm_isdst heuristic |
Date: | Sun, 5 Jan 2025 20:50:27 -0800 |
User-agent: | Mozilla Thunderbird |
On 2025-01-05 07:07, Pádraig Brady wrote:
I notice coreutils CI is now failing in a gnulib test with:test-parse-datetime.c:419: assertion 'result.tv_sec == 515107490 - 60 * 60 + (has_leap_seconds ? 13 : 0)' failedAdding some extra debug I see that result.tv_sec is 1 hour too late (i.e. 515107490). This test is related to https://bugs.gnu.org/48085
Yes, it looks like that test is too picky, since Bug#48085 is about parse_datetime failing rather than about a particular value. Although I could not reproduce the test failure on either Fedora 41 or Ubuntu 24.10 I installed the attached patch, which I hope fixes things for the coreutils CI (for which I don't know the build+run environment).
0001-parse-datetime-tests-port-to-Gnulib-mktime.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |