~jamesodhunt/upstart/upstart-shutdown-temp

Viewing all changes in revision 1426.

  • Committer: James Hunt
  • Date: 2013-01-31 17:23:55 UTC
  • Revision ID: james.hunt@ubuntu.com-20130131172355-p81pliodhqvgawsy
* init/control.c:
  - Use control_check_permission() rather than
    control_get_origin_uid() directly.
* init/control.h: Prototypes.
* init/job_class.c: Change calls to job_class_environment_init()
  to asserts as the former only needs to be called once.
* init/main.c: main(): Make job_class_environment_init() call as
  early as possible.
* init/tests/test_event.c: main(): Call
  job_class_environment_init().
* util/tests/test_initctl.c:
  - test_default_job_env():
    - Set TERM and PATH if not set.
    - Check line counts before checking expected output.
  - test_clear_job_env():
    - Make use of TEST_INITCTL_DEFAULT_PATH.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: