]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: date: remove a non-portable test master
authorCollin Funk <collin.funk1@gmail.com>
Wed, 24 Jun 2026 01:26:21 +0000 (18:26 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Wed, 24 Jun 2026 01:26:21 +0000 (18:26 -0700)
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

index 25134ba33318c9205ae0f32a87e536e349bd4c11..6530bbbf542bccb5aa172923117c2480510628d9 100755 (executable)
@@ -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