lp:~jamesodhunt/upstart/cgroups-and-process_data-reexec-test
- Get this branch:
- bzr branch lp:~jamesodhunt/upstart/cgroups-and-process_data-reexec-test
Branch merges
- Dimitri John Ledkov: Approve
-
Diff: 40729 lines (+19611/-18300)4 files modifiedChangeLog (+22/-0)
init/job_process.c (+9/-3)
init/tests/data/upstart-1.13.json (+19507/-18278)
init/tests/test_state.c (+73/-19)
Branch information
Recent revisions
- 1642. By James Hunt
-
* init/job_process.c:
- job_process_data_serialise( ): Serialise status.
- job_process_data_deserialis e(): Deserialise status.
* init/tests/data/upstart- 1.13.json: Add missing JobProcessData- >status.
* init/tests/test_state. c: test_cgroup_ and_process_ data_state( ):
- Ensure JobProcessData recreated in expected form. - 1641. By James Hunt
-
* init/tests/
data/upstart- 1.13.json: Updated with new content containing
both more cgroup stanza jobs and a job with a job process whose
child setup is "in-flight", representing the JobProcessData in the
JSON as 'process_data'.
* init/tests/test_state. c: test_cgroup_ and_process_ data_state( ):
- Renamed from test_cgroup_state() .
- Made cgroup guards more fine-grainded to ensure this test always
runs, but only tests cgroup content if built with cgroup support.
- Pre-process the JSON to pass a valid fd to allow the deserialisation
of the JobProcessData to succeed.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:upstart