]> asedeno.scripts.mit.edu Git - linux.git/commit
kselftest/cgroup: fix incorrect test_core skip
authorAlex Shi <alex.shi@linux.alibaba.com>
Mon, 27 May 2019 06:28:07 +0000 (14:28 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 30 May 2019 14:19:17 +0000 (08:19 -0600)
commitf97f3f8839eb9de5843066d80819884f7722c8c5
tree6ed9776e925306f88102c0c521ababcc955d174f
parent00e38a5d753d7788852f81703db804a60a84c26e
kselftest/cgroup: fix incorrect test_core skip

The test_core will skip the
test_cgcore_no_internal_process_constraint_on_threads test case if the
'cpu' controller missing in root's subtree_control. In fact we need to
set the 'cpu' in subtree_control, to make the testing meaningful.

./test_core
...
ok 4 # skip test_cgcore_no_internal_process_constraint_on_threads
...

Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Cc: Roman Gushchin <guro@fb.com>
Cc: Claudio Zumbo <claudioz@fb.com>
Cc: Claudio <claudiozumbo@gmail.com>
Cc: linux-kselftest@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Reviewed-by: Roman Gushchin <guro@fb.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/cgroup/test_core.c