summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-path.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/test/test-path.c b/src/test/test-path.c
index 2063ed2543..1512ae2b19 100644
--- a/src/test/test-path.c
+++ b/src/test/test-path.c
@@ -248,10 +248,6 @@ int main(int argc, char *argv[]) {
log_parse_environment();
log_open();
- /* It is needed otherwise cgroup creation fails */
- if (getuid() != 0)
- return EXIT_TEST_SKIP;
-
assert_se(set_unit_path(TEST_DIR ":") >= 0);
for (test = tests; test && *test; test++) {