From fadef32c8f7b09cca543bd111c82d50933c7e387 Mon Sep 17 00:00:00 2001 From: Kamalesh Babulal Date: Tue, 21 Mar 2023 09:12:30 +0000 Subject: [PATCH] gunit/009: adopt the cgroup_set_values_recursive() changes cgroup_set_values_recursive(), third argument ignore_non_dirty_values no more suppress the errors but skips writing of the controller setting that isn't marked dirty, propagate the changes to the test cases too. Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- tests/gunit/009-cgroup_set_values_recursive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gunit/009-cgroup_set_values_recursive.cpp b/tests/gunit/009-cgroup_set_values_recursive.cpp index eeaf8ec0..7e6bad9c 100644 --- a/tests/gunit/009-cgroup_set_values_recursive.cpp +++ b/tests/gunit/009-cgroup_set_values_recursive.cpp @@ -103,7 +103,7 @@ TEST_F(SetValuesRecursiveTest, SuccessfulSetValues) ctrlr.index++; } - ret = cgroup_set_values_recursive(PARENT_DIR, &ctrlr, true); + ret = cgroup_set_values_recursive(PARENT_DIR, &ctrlr, false); ASSERT_EQ(ret, 0); for (i = 0; i < NAMES_CNT; i++) { -- 2.47.3