-
Committer:
Scott James Remnant
-
Date:
2008-06-05 20:57:44 UTC
-
Revision ID:
scott@netsplit.com-20080605205744-yugdxle6ks3mlgea
* init/job.c (job_emit_event): Add a Blocked record to the event's
blocking list for the starting and stopping events.
* init/tests/test_job.c (test_emit_event): Add tests for the record
being added to the list with the right details.
(test_change_goal): Make sure that a Blocked record is added
(test_change_state): Make sure that Blocked records are added
* init/tests/test_job_process.c (test_handler): Also make sure
that Blocked records are added.