Re: [PATCH] t9604: Fix test for musl libc and new Debian
- From
Jeff King <peff@peff.net>
- Date
- Apr 7, 2024, 01:33 UTC
- Message-ID
- <20240407013312.GD1085004@coredump.intra.peff.net>
- In-Reply-To
- <23a4298eababe54ca4b43d7b675b858605d20ec5.1712374021.git.congdanhqx@gmail.com>
On Sat, Apr 06, 2024 at 10:29:10AM +0700, Đoàn Trần Công Danh wrote:
Show 14 quoted lines
> CST6CDT and the like are POSIX timezone, with no rule for transition. > And POSIX doesn't enforce how to interpret the rule if it's omited. > Some libc resorted back to IANA (formerly Olson) db rules for those > timezones. Other libc (e.g. musl) interpret that as no transition at > all [1]. > > In addition, distributions (notoriously Debian-derived, which uses IANA > db for CST6CDT and the like) started to split "legacy" timezones > like CST6CDT, EST5EDT into `tzdata-legacy', which will not be installed > by default [2]. > > In those cases, t9604 will run into failure. > > Let's switch to POSIX timezone with rules to change timezone.
This made me wonder if we are losing EST5, etc. We use that in t0006, for example. But I guess not, since I do not have tzdata-legacy installed (I am on Debian unstable) and haven't run into issues (I didn't notice the cvsimport one because I lack other prereqs to run those tests).
-Peff