~vorlon/ubuntu/raring/upstart/lp.1199778

Viewing all changes in revision 752.

  • Committer: Scott James Remnant
  • Date: 2007-06-22 14:35:42 UTC
  • Revision ID: scott@netsplit.com-20070622143542-h8diftyh5etdj5ld
* init/job.c (job_change_cause): Only notify the job event and
update the cause member, we don't need to ref or block it anymore
since that's handled by start_on and stop_on.
* init/tests/test_job.c (test_change_goal): Drop checks on cause
being referenced and blocked.
(test_change_state, test_child_reaper, test_handle_event): Update
test cases to not reference ->cause, and not count any references
or blockers towards it.
* init/tests/test_event.c (test_poll): Update expected reference
and block counts for events handled by jobs.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: