-
Committer:
Scott James Remnant
-
Date:
2007-06-22 14:50:51 UTC
-
Revision ID:
scott@netsplit.com-20070622145051-4jyqswge0wpfxlm2
* init/notify.c (notify_job): Call notify_job_event regardless,
since this now looks over the start_on and stop_on fields.
(notify_job_event): Rewrite to iterate over start_on and stop_on,
and notifying for each cause event found.
(notify_job_event_caused): Static function that is the guts of the
above function.
* init/tests/test_notify.c (test_job, test_job_event): Modify tests
to refer exclusively to the start_on/stop_on expressions rather than
the cause.