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

Viewing all changes in revision 523.

  • Committer: Scott James Remnant
  • Date: 2007-02-09 02:34:03 UTC
  • Revision ID: scott@netsplit.com-20070209023403-5b7r0oh187fb0t34
* init/job.c (job_run_process): Simplify a little bit, no need to
do the state assertions here, just make sure there's no already
a process running.
* init/tests/test_job.c (test_run_command, test_run_script): Run
tests in the spawned state, since that's where we run the primary
command or script.  Drop check for process state since that's no
longer set.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: