1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-03-14 16:58:22 +03:00
Yu Watanabe ff6db56a01 test-time-util: skip test for TIMESTAMP_DATE if the timestamp is too old
Follow-up for 64f3419ec1f56a93b6dd48137ca40c945fc06c59.

If the input timestamp is too old (say, 1min since 1970-01-01), then
parse_timestamp() may fail on a timezone with positive shift e.g.
JST (UTC+9). Moreover, even if parse_timestamp() succeeds, its result
'y' and 'usec_sub_unsigned(x, 2 * USEC_PER_DAY)' are both zero, and
the assertion will be triggered.

Fixes #26172.
2023-02-02 10:59:59 +01:00
..
2023-01-27 17:47:09 +01:00
2021-11-25 15:03:06 +01:00
2021-11-25 15:03:06 +01:00
2021-11-25 15:03:06 +01:00
2022-10-11 16:39:09 +02:00
2021-11-25 15:03:06 +01:00
2021-11-25 15:03:06 +01:00
2021-11-25 15:03:06 +01:00
2022-12-21 01:50:33 +09:00
2022-12-21 01:50:33 +09:00
2021-11-25 15:03:06 +01:00
2021-11-25 15:03:06 +01:00
2022-12-19 14:49:01 +01:00
2022-11-08 18:21:10 +01:00
2021-11-25 15:03:06 +01:00
2021-11-25 15:03:06 +01:00
2022-11-08 18:21:10 +01:00
2021-11-25 15:03:06 +01:00
2021-11-25 15:03:06 +01:00
2022-12-21 01:50:33 +09:00
2022-12-21 01:50:33 +09:00
2021-11-25 15:03:06 +01:00
2022-06-02 14:14:22 +09:00
2021-11-25 15:03:06 +01:00
2021-11-25 15:03:06 +01:00
2021-11-25 15:03:06 +01:00
2021-11-25 15:03:06 +01:00
2021-11-25 15:03:06 +01:00
2023-01-08 16:31:16 +01:00
2021-11-25 15:03:06 +01:00
2021-11-25 15:03:06 +01:00
2023-01-10 15:16:26 +01:00
2021-11-25 15:03:06 +01:00
2021-11-25 15:03:06 +01:00
2021-11-25 15:03:06 +01:00
2021-11-25 15:03:06 +01:00
2021-11-25 15:03:06 +01:00
2021-11-25 15:03:06 +01:00
2022-06-17 12:28:36 +09:00
2022-06-02 14:14:22 +09:00
2021-11-25 15:03:06 +01:00
2021-11-25 15:03:06 +01:00
2023-01-24 19:14:27 +01:00
2021-11-25 15:03:06 +01:00
2021-11-25 15:03:06 +01:00
2022-10-11 16:39:09 +02:00
2023-01-18 21:58:33 +00:00
2021-11-25 15:03:06 +01:00
2023-01-20 14:55:46 +09:00
2021-11-25 15:03:06 +01:00
2022-11-08 18:21:10 +01:00