summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-22 16:16:05 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-22 16:16:05 +0100
commita4ae7f1d739cc011b5312a8bfba99971bce0e7c3 (patch)
tree649c907667350b80e926e8f34d04d567a8fb34aa /src/test
parent83ea2049fcd3a15071b5519624269266e31d9906 (diff)
parenta022d76e6a7c711954be5535e6308d0a470e232a (diff)
Merge pull request #2695 from mustrumr/fix-calendarspec-skip
calendarspec: fix find_next skipping times
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-calendarspec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test-calendarspec.c b/src/test/test-calendarspec.c
index 8754cb3381..5a8c6cbfb6 100644
--- a/src/test/test-calendarspec.c
+++ b/src/test/test-calendarspec.c
@@ -137,6 +137,7 @@ int main(int argc, char* argv[]) {
test_next("2015-11-13 09:11:23.42", "EET", 12345, 1447398683420000);
test_next("2015-11-13 09:11:23.42/1.77", "EET", 1447398683420000, 1447398685190000);
test_next("2015-11-13 09:11:23.42/1.77", "EET", 1447398683419999, 1447398683420000);
+ test_next("Sun 16:00:00", "CET", 1456041600123456, 1456066800000000);
assert_se(calendar_spec_from_string("test", &c) < 0);
assert_se(calendar_spec_from_string("", &c) < 0);