-
Committer:
James Hunt
-
Date:
2014-07-02 16:29:13 UTC
-
Revision ID:
james.hunt@ubuntu.com-20140702162913-djhuxeu8meexjnew
* 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.