summaryrefslogtreecommitdiff
path: root/src/test-cgroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test-cgroup.c')
-rw-r--r--src/test-cgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test-cgroup.c b/src/test-cgroup.c
index bebca7b50f..63329a397c 100644
--- a/src/test-cgroup.c
+++ b/src/test-cgroup.c
@@ -53,7 +53,7 @@ int main(int argc, char*argv[]) {
free(path);
assert_se(cg_get_path(SYSTEMD_CGROUP_CONTROLLER, "/test-b/test-d", NULL, &path) == 0);
- assert_se(path_equal(path, "/cgroup/systemd/test-b/test-d"));
+ assert_se(path_equal(path, "/sys/fs/cgroup/systemd/test-b/test-d"));
free(path);
assert_se(cg_is_empty(SYSTEMD_CGROUP_CONTROLLER, "/test-a", false) > 0);