Bruno Haible via GNU coreutils General Discussion <[email protected]>
writes:

> Last week I wrote:
>> The CI reports that the date/date-tz test fails on FreeBSD, NetBSD, OpenBSD.
>
> Likewise in yesterday's CI run.

Oops, I pushed the attached patch to remove the test, since it relies on
behavior the standards and Gnulib don't guarantee.

Collin

>From 17e6bfcc2b883a0c85342969dcd9d31701a2f5da Mon Sep 17 00:00:00 2001
Message-ID: <17e6bfcc2b883a0c85342969dcd9d31701a2f5da.1782272946.git.collin.fu...@gmail.com>
From: Collin Funk <[email protected]>
Date: Tue, 23 Jun 2026 18:26:21 -0700
Subject: [PATCH] tests: date: remove a non-portable test

This test failure was seen on FreeBSD, NetBSD, and OpenBSD.

* tests/date/date-tz.sh: Remove the test case.
Reported by Bruno Haible.
---
 tests/date/date-tz.sh | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/tests/date/date-tz.sh b/tests/date/date-tz.sh
index 25134ba33..6530bbbf5 100755
--- a/tests/date/date-tz.sh
+++ b/tests/date/date-tz.sh
@@ -48,12 +48,6 @@ if test "$(TZ=America/Belize date +%z)" = '-0600'; then
   printf "date: invalid date '2024-03-10 02:30'\n" > exp || framework_failure_
   compare exp err || fail=1
 
-  # An ambiguous local time in the fall-back overlap takes the earlier,
-  # still-DST offset (+0100 here, not +0200).
-  TZ=Europe/Paris date -d '2024-10-27 02:30:00' '+%Y-%m-%dT%T%z' > out || fail=1
-  printf "2024-10-27T02:30:00+0100\n" > exp || framework_failure_
-  compare exp out || fail=1
-
 fi
 
 Exit $fail
-- 
2.54.0

Reply via email to