projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a900274
)
test-date: do not fail even on ~50 years later
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Sun, 11 Sep 2022 18:02:31 +0000
(
03:02
+0900)
committer
Luca Boccassi
<luca.boccassi@gmail.com>
Thu, 15 Sep 2022 12:48:55 +0000
(13:48 +0100)
Fixes #16181.
src/test/test-date.c
patch
|
blob
|
history
diff --git
a/src/test/test-date.c
b/src/test/test-date.c
index b3b902e64bd067ae6e1cdc85456c558b10898329..097066b61ab1ad21de0719a96db3f7ea9337a329 100644
(file)
--- 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("-100
0
y");
test_should_fail("today UTC UTC");
test_should_fail("now Asia/Seoul");
test_should_fail("+2d Asia/Seoul");