]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
gunit: Update test 009 to match cgroup_set_values_recursive()
authorTom Hromatka <tom.hromatka@oracle.com>
Wed, 10 Mar 2021 18:21:25 +0000 (18:21 +0000)
committerTom Hromatka <tom.hromatka@oracle.com>
Mon, 22 Mar 2021 17:34:17 +0000 (11:34 -0600)
commitc1adcd603a647455c4cf5badb4cbf164b9c0bd01
tree744932fcff149f1b2965b798cbee8d790f1c478d
parent63340337c8c5125cb10897e89a8334bab5c5bb6a
gunit: Update test 009 to match cgroup_set_values_recursive()

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>
gunit/009-cgroup_set_values_recursive.cpp