diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-12-21 11:18:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-21 11:18:02 +0100 |
commit | fee89634eee936df2aefb446796eba312902f02a (patch) | |
tree | 192ffb693ec62f68c1f84f13a4ce0f68f51db536 /src/test | |
parent | 9f702d00d61a9d7bceeb07eced01427a85193021 (diff) | |
parent | 60bf5836a0d0796bc4acb818826148411d4b379f (diff) |
Merge pull request #4935 from dobyrch/master
calendarspec: improve overflow handling
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-calendarspec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test-calendarspec.c b/src/test/test-calendarspec.c index 5fd749a6a8..1f34a91b10 100644 --- a/src/test/test-calendarspec.c +++ b/src/test/test-calendarspec.c @@ -238,6 +238,8 @@ int main(int argc, char* argv[]) { assert_se(calendar_spec_from_string("*:05..10/6", &c) < 0); assert_se(calendar_spec_from_string("20/4:00", &c) < 0); assert_se(calendar_spec_from_string("00:00/60", &c) < 0); + assert_se(calendar_spec_from_string("00:00:2300", &c) < 0); + assert_se(calendar_spec_from_string("00:00:18446744073709551615", &c) < 0); test_timestamp(); test_hourly_bug_4031(); |