bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 5/6] test-strftime: test for Solaris bug


From: Pádraig Brady
Subject: Re: [PATCH 5/6] test-strftime: test for Solaris bug
Date: Tue, 22 Dec 2015 15:58:20 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 20/12/15 22:15, Pádraig Brady wrote:
> Note this fails on x86_64-apple-darwin13.4.0 (mavericks) with:
> 
> FAIL: test-strftime (exit: 1)
> =============================
> NZST-12NZDT,M9.5.0,M4.1.0/3:
>   expected "1970-01-01 13:00:00 +1300 (NZDT)",
>        got "1970-01-01 12:00:00 +1200 (NZST)"
> 
> I've only got access to yosemite (darwin14),
> but I'll try to reproduce on that anyway
> later this week.

Reproduced on Darwin 14 also.
I think this is due to dst not being set
for this ahistorical entry.

The attached patch skips the expected output check,
for the two ahistorical entries, when tm_isdst is not set,
and now passes on Darwin 14.

cheers,
Pádraig

Attachment: os-x-strftime-fail.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]