1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-29 21:55:36 +03:00

test-date: do not fail even on ~50 years later

Fixes #16181.
This commit is contained in:
Yu Watanabe 2022-09-12 03:02:31 +09:00 committed by Luca Boccassi
parent a900274915
commit 88ffd21014

View File

@ -91,7 +91,7 @@ int main(int argc, char *argv[]) {
test_should_parse("1970-1-1 UTC");
test_should_pass("1970-1-1 00:00:01 UTC");
test_should_fail("1969-12-31 UTC");
test_should_fail("-100y");
test_should_fail("-1000y");
test_should_fail("today UTC UTC");
test_should_fail("now Asia/Seoul");
test_should_fail("+2d Asia/Seoul");