selftests: cgroup: Add task migration tests
authorMichal Koutný <mkoutny@suse.com>
Fri, 4 Oct 2019 10:57:42 +0000 (12:57 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 7 Oct 2019 14:11:54 +0000 (07:11 -0700)
commit11318989c381d2b08b4e361a03df09d54434b26c
tree51f5f08a225e62e1222abdc57ed568b343044c79
parent58c9f75b86f76895b9dd44f21dc1e37d0f477cc7
selftests: cgroup: Add task migration tests

Add two new tests that verify that thread and threadgroup migrations
work as expected.

Signed-off-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
tools/testing/selftests/cgroup/Makefile
tools/testing/selftests/cgroup/cgroup_util.c
tools/testing/selftests/cgroup/cgroup_util.h
tools/testing/selftests/cgroup/test_core.c