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

Viewing all changes in revision 747.

  • Committer: Scott James Remnant
  • Date: 2007-06-21 16:02:12 UTC
  • Revision ID: scott@netsplit.com-20070621160212-reyh26eaasnbxaaf
* init/tests/test_job.c (test_handle_event): Rewrite tests using
event expressions, and make sure events are referenced and blocked
correctly matching how jobs are affected.  Include tests for correct
instance behaviour.
(test_instance): Make sure that instances copy across the expression
state, and reset the parent.
* init/job.c (job_instance): After spawning a new instance, reset
the start_on expression of the master job.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: