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

Viewing all changes in revision 564.

  • Committer: Scott James Remnant
  • Date: 2007-02-09 22:50:00 UTC
  • Revision ID: scott@netsplit.com-20070209225000-relod4w2bpe89a9d
* init/tests/test_job.c (test_kill_process): Poll the event queue
after each test to get rid of the allocated events and make valgrind
happy.
* init/tests/test_control.c (test_job_start, test_job_stop)
(test_event_emit): Poll the event queue after each test to get rid
of the allocated events, as they make valgrind complain.
(test_event_emit): Free args and env when done.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: