ftests: add test to pass pid to systemd scope create via cgcreate
Add a test to pass task pid to systemd scope during creation using the
cgcreate tool.
-----------------------------------------------------------------
Test Results:
Run Date: Apr 27 12:54:10
Passed: 1 test(s)
Skipped: 0 test(s)
Failed: 0 test(s)
-----------------------------------------------------------------
Timing Results:
Test Time (sec)
-----------------------------------------------------
setup 0.00
084-sudo-cgcreate_systemd_scope_pid.py 2.16
teardown 0.00
-----------------------------------------------------
Total Run Time 2.16
Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com> Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
TJH: Added one more call to Cgroup.get_pids_in_cgroup()