test-path: do not skip tests if we are not root

We can properly run the tests without being root
This commit is contained in:
Ronny Chevalier
2015-01-15 00:07:15 +01:00
parent 68e68ca810
commit 78a8e158da

View 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++) {