-
Committer:
Scott James Remnant
-
Date:
2008-06-07 21:59:56 UTC
-
Revision ID:
scott@netsplit.com-20080607215956-qmt4jnmqwb85sku1
* init/job_process.c (job_process_terminated): Don't check the goal
to see whether the main process was allowed to terminate, check the
state. A termination is only not a failure if we're on the KILLED
state (ie. we killed it), otherwise it can still be a failure even
if it was going to stop anyway.
* init/tests/test_job_process.c (test_handler): Add a test case.