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

Viewing all changes in revision 354.

  • Committer: Scott James Remnant
  • Date: 2007-01-09 08:40:13 UTC
  • Revision ID: scott@netsplit.com-20070109084013-zwobbqjw12cykpht
* init/job.c (job_new): Initialise the emits member to an empty list.
* init/job.h (Job): Add the emits member as a list.
* init/tests/test_job.c (test_new): Check the emits list starts off
empty.
* init/tests/test_cfgfile.c (test_stanza_emits): Test the new emits
stanza; this function will also serve as a prototype for cleaning up
the config tests.
* init/cfgfile.c (cfg_stanza_emits): Add function to parse the new
emits stanza.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: