Package: cron
Version: 3.0pl1-214
Severity: wishlist

Hi,

Would you be open to a series of patches adding regression tests for
cron and crontab? I'd start from the current Debian C release
(3.0pl1-214) and test behaviour that already works. I'm not proposing
a change to the daemon or its behaviour here.

I read through the existing autopkgtests. My suggested first patch
would make the mail-wrapping and schedule-parsing checks fail when the
expected result is missing, and give the repeated day-of-month case
its own input. After that, I'd add deterministic checks for which jobs
run and which don't, clock changes, crontab reloads, and the
install/edit/list/remove workflow.

Would that be useful? Would you prefer black-box tests under
debian/tests, or smaller build-time tests for scheduling and parsing
where those are a better fit?

Thanks,
Brett Sutton

Reply via email to