lp:~jamesodhunt/upstart/fix-system-reexec-test
- Get this branch:
- bzr branch lp:~jamesodhunt/upstart/fix-system-reexec-test
Branch merges
- Dimitri John Ledkov: Approve
-
Diff: 443 lines (+207/-51)4 files modifiedChangeLog (+21/-0)
scripts/pyupstart.py (+114/-32)
scripts/tests/test_pyupstart_session_init.py (+50/-1)
scripts/tests/test_pyupstart_system_init.py (+22/-18)
Branch information
Recent revisions
- 1529. By James Hunt
-
* scripts/
pyupstart. py:
- dbus_encode(): Comments.
- Upstart::_idle_ create_ job_cb( ): Pass retain option.
- Upstart::job_create( ): Allow specification of retain option to keep
job configuration file on object destruction.
- Upstart::job_recreate( ): New method to vivify a Job object using an
existing job configuration file.
- Job::__init__(): New 'retain' and 'reuse_path' options.
- Job::get_instance( ): New method to obtain a Jobs JobInstance.
- Job::get_dbus_instance( ): Renamed from get_instance().
- JobInstance::destroy( ): NOP for 'retain'ed jobs.
* scripts/tests/test_ pyupstart_ system_ init.py:
- test_pid1_reexec():
- Retain the job configuration to allow the object to be recreated
after re-exec.
* scripts/tests/test_ pyupstart_ session_ init.py:
- test_session_init_reexec: Add job creation for parity with
test_pid1_reexec( ). - 1524. By James Hunt
-
* init/tests/
test_job. c: test_reload(): Stop test D-Bus server to avoid
rogues process left over after test run. - 1522. By James Hunt
-
* Merge of lp:~xnox/upstart/reload-signal
* Cleaned up new compiler warnings.
* init/Makefile.am: Added missing entries to TEST_DATA_FILES causing
distcheck to fail.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:upstart