summaryrefslogtreecommitdiff
path: root/src/test-cgroup.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-25 04:58:16 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-25 04:58:24 +0200
commit77d5f105bf63330350c7bddacdeda914f945590f (patch)
tree3db8a21164833c8c0c48ffe6ee7820858d3d19b9 /src/test-cgroup.c
parentee2083d5cacd8b6065b6a38d284f3e28961775a4 (diff)
cgroup: mount cgroup file systems to /sys/fs/cgroup instead of /cgroup
This requires the /sys/fs/cgroup to exist. Current git kernels have this, released kernels need a backport of a single patch.
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);