1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-26 10:39:01 +02:00

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.
This commit is contained in:
Collin Funk
2026-06-23 18:26:21 -07:00
parent c8d75f1f6b
commit 17e6bfcc2b
-6
View File
@@ -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