Merge lp:~jamesodhunt/upstart/fix-system-reexec-test into lp:upstart
Status: | Merged |
---|---|
Merged at revision: | 1550 |
Proposed branch: | lp:~jamesodhunt/upstart/fix-system-reexec-test |
Merge into: | lp:upstart |
Diff against target: |
443 lines (+207/-51) 4 files modified
ChangeLog (+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) |
To merge this branch: | bzr merge lp:~jamesodhunt/upstart/fix-system-reexec-test |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dimitri John Ledkov | Approve | ||
Review via email: mp+185238@code.launchpad.net |
Description of the change
Various fixes and improvements to the system and session tests:
* scripts/
- dbus_encode(): Comments.
- Upstart:
- Upstart:
job configuration file on object destruction.
- Upstart:
existing job configuration file.
- Job::__init__(): New 'retain' and 'reuse_path' options.
- Job::get_
- Job::get_
- JobInstance:
* scripts/
- test_pid1_reexec():
- Retain the job configuration to allow the object to be recreated
after re-exec.
* scripts/
- test_session_
test_
What "::" is in C++ is "." in python =)
pyflakes 3 .
pep8 .
give plenty of warnings, but that's a pre-existing (health) condition.