All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH] cputest_regression_test to skip if cgroup version2
@ 2023-05-12  8:07 Sowmya Indranna
  2023-05-12  8:29 ` Cyril Hrubis
  0 siblings, 1 reply; 2+ messages in thread
From: Sowmya Indranna @ 2023-05-12  8:07 UTC (permalink / raw)
  To: ltp; +Cc: Sowmya Indranna

Signed-off-by: Sowmya Indranna <sowmya.indranna@ibm.com>
---
 .../kernel/controllers/cpuset/cpuset_regression_test.sh      | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/testcases/kernel/controllers/cpuset/cpuset_regression_test.sh b/testcases/kernel/controllers/cpuset/cpuset_regression_test.sh
index 1ae8933bc..9e89fe3ed 100755
--- a/testcases/kernel/controllers/cpuset/cpuset_regression_test.sh
+++ b/testcases/kernel/controllers/cpuset/cpuset_regression_test.sh
@@ -130,6 +130,11 @@ setup()
 
 	tst_res TINFO "test starts with cgroup version $cgroup_version"
 
+	if [ "$cgroup_version" = "2" ]; then
+            tst_brk TCONF "cgroup v2 found, skipping test"
+            return
+        fi
+
 	if ! [ -f ${root_cpuset_dir}/${cpu_exclusive} ]; then
 		cpu_exclusive=cpu_exclusive
 		cpus=cpus
-- 
2.40.1.windows.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-12  8:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-12  8:07 [LTP] [PATCH] cputest_regression_test to skip if cgroup version2 Sowmya Indranna
2023-05-12  8:29 ` Cyril Hrubis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.