From: Yu Watanabe Date: Sun, 11 Sep 2022 18:02:31 +0000 (+0900) Subject: test-date: do not fail even on ~50 years later X-Git-Tag: v252-rc1~186 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=88ffd21014282fb587c632a3bdff56d208f21cfd;p=thirdparty%2Fsystemd.git test-date: do not fail even on ~50 years later Fixes #16181. --- diff --git a/src/test/test-date.c b/src/test/test-date.c index b3b902e64bd..097066b61ab 100644 --- a/src/test/test-date.c +++ b/src/test/test-date.c @@ -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");