fuzz-calendarspec: increase coverage by calculating occurences

Coverage data shows that we didn't test calendar_spec_next_usec() and
associated functions at all.

The input samples so far were only used until the first NUL. We take advantage
of that by using the part until the second NUL as the starting timestamp,
retaining backwards compatibility for how the first part is used.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2022-05-10 13:06:32 +02:00
parent 262037f0b1
commit 8e6e3ac7d1
2 changed files with 39 additions and 4 deletions
Binary file not shown.