diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-10-27 18:08:46 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-10-27 18:09:26 +0100 |
commit | dbfd41e2df44113d1d2d07fb751db11b443f186b (patch) | |
tree | 614569403d02a9251ee9078440f32a59f28f4ee6 /src/test | |
parent | a2a85a22b3c82386633ab898012c4b249706d535 (diff) |
calendarspec: parse 'quarterly' and 'semi-annually' as shortcuts
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-calendarspec.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/test-calendarspec.c b/src/test/test-calendarspec.c index 21b0024388..87e1da1258 100644 --- a/src/test/test-calendarspec.c +++ b/src/test/test-calendarspec.c @@ -77,6 +77,10 @@ int main(int argc, char* argv[]) { test_one("daily", "*-*-* 00:00:00"); test_one("monthly", "*-*-01 00:00:00"); test_one("weekly", "Mon *-*-* 00:00:00"); + test_one("minutely", "*-*-* *:*:00"); + test_one("quarterly", "*-01,04,07,10-01 00:00:00"); + test_one("semi-annually", "*-01,07-01 00:00:00"); + test_one("annually", "*-01-01 00:00:00"); test_one("*:2/3", "*-*-* *:02/3:00"); assert_se(calendar_spec_from_string("test", &c) < 0); |