~jamesodhunt/upstart/bug-1238078

Viewing all changes in revision 1546.

  • Committer: James Hunt
  • Date: 2013-10-14 13:02:13 UTC
  • Revision ID: james.hunt@ubuntu.com-20131014130213-58a863ta8rf0jys9
* init/job_class.c: job_class_environment_clear(): Utility function
  exposed primarily to allow tests to invalidate job_environ.
* init/tests/test_state.c:
  - Added appropriate calls to job_class_environment_clear().
  - New JSON data tests added:
    - upstart-no-job-environ.json
    - upstart-with-job-environ.json
    - session-init-no-job-environ.json
    - session-init-with-job-environ.json
    - session-init-with-modified-job-environ.json

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: