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

Viewing all changes in revision 835.

  • Committer: Scott James Remnant
  • Date: 2008-02-22 15:07:54 UTC
  • Revision ID: scott@netsplit.com-20080222150754-97uprtqt1pp9sqsc
* init/job.c (job_change_state): Update event_new () call.
(job_emit_event): Update to put failure information in environment.
* init/tests/test_job.c (test_new, test_instance)
(test_child_handler, test_handle_event)
(test_handle_event_finished): Remove extra argument to event_new,
rename args to env in operator where necessary.
(test_change_state): Update to check emitted event by full environment.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: