chiark / gitweb /
test-path: do not skip tests if we are not root
[elogind.git] / src / test / test-path.c
index 2063ed25439545444269cccd3874a56368c5de2d..1512ae2b195aad753a15b3c70b453893efce9fd8 100644 (file)
@@ -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++) {