Skip to content

Commit a8c52eb

Browse files
Waiman-Longhtejun
authored andcommitted
kselftest/cgroup: Add cpuset v2 partition root state test
Add a test script test_cpuset_prs.sh with a helper program wait_inotify for exercising the cpuset v2 partition root state code. Signed-off-by: Waiman Long <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
1 parent 8cbfdc2 commit a8c52eb

File tree

4 files changed

+765
-2
lines changed

4 files changed

+765
-2
lines changed

tools/testing/selftests/cgroup/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ test_freezer
55
test_kmem
66
test_kill
77
test_cpu
8+
wait_inotify

tools/testing/selftests/cgroup/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# SPDX-License-Identifier: GPL-2.0
22
CFLAGS += -Wall -pthread
33

4-
all:
4+
all: ${HELPER_PROGS}
55

66
TEST_FILES := with_stress.sh
7-
TEST_PROGS := test_stress.sh
7+
TEST_PROGS := test_stress.sh test_cpuset_prs.sh
8+
TEST_GEN_FILES := wait_inotify
89
TEST_GEN_PROGS = test_memcontrol
910
TEST_GEN_PROGS += test_kmem
1011
TEST_GEN_PROGS += test_core

0 commit comments

Comments
 (0)