mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-26 08:07:06 +00:00
test_localtime_and_gmtime_match_datetime and test_naive_datetime_modes fail intermittently on musl. time-machine sets TZ to the zone key, and musl parses keys that are also valid POSIX TZ rule strings, such as EST5EDT, CST6CDT, GB-Eire, NZ-CHAT and W-SU, as rules instead of loading the zone file, so libc local time disagrees with zoneinfo. Prefix the key with a colon, which makes glibc and musl load the zone file. With this and the musl fix for zone files with a single transition, 120 of 120 hypothesis seeds of the full suite pass in a musl image rootfs, against 18 failing seeds with this change alone. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>