diff options
Diffstat (limited to 'src/test/test-cgroup.c')
-rw-r--r-- | src/test/test-cgroup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test-cgroup.c b/src/test/test-cgroup.c index 8b0302cfe6..37b1c3554a 100644 --- a/src/test/test-cgroup.c +++ b/src/test/test-cgroup.c @@ -74,8 +74,8 @@ int main(int argc, char*argv[]) { cg_trim(SYSTEMD_CGROUP_CONTROLLER, "/", false); - assert_se(cg_delete(SYSTEMD_CGROUP_CONTROLLER, "/test-b") < 0); - assert_se(cg_delete(SYSTEMD_CGROUP_CONTROLLER, "/test-a") >= 0); + assert_se(cg_rmdir(SYSTEMD_CGROUP_CONTROLLER, "/test-b") < 0); + assert_se(cg_rmdir(SYSTEMD_CGROUP_CONTROLLER, "/test-a") >= 0); assert_se(cg_split_spec("foobar:/", &c, &p) == 0); assert_se(streq(c, "foobar")); |