cgroup_set_values_recursive() had a parameter added to ignore
the dirty flag on write failures. This is needed by
cgroup_modify_cgroup() as some writes may be expected to fail.
Update test 009 to utilize this new flag. Note that
cgroup_set_values_recursive() is now being heavily tested by
the functional tests, so this unit test is no longer the primary
means of testing this function.
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
ctrlr.index++;
}
- ret = cgroup_set_values_recursive(PARENT_DIR, &ctrlr);
+ ret = cgroup_set_values_recursive(PARENT_DIR, &ctrlr, true);
ASSERT_EQ(ret, 0);
for (i = 0; i < NAMES_CNT; i++) {