diff options
author | Ronny Chevalier <chevalier.ronny@gmail.com> | 2015-01-15 00:07:15 +0100 |
---|---|---|
committer | Ronny Chevalier <chevalier.ronny@gmail.com> | 2015-01-15 00:57:44 +0100 |
commit | 78a8e158da95aa144982f2c8aed354ef91c095b8 (patch) | |
tree | 6404948f36b043acce79d1b93448dc6225e4dc56 /src/test | |
parent | 68e68ca8106e7cd874682ae425843b48579c6539 (diff) |
test-path: do not skip tests if we are not root
We can properly run the tests without being root
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-path.c | 4 |
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++) { |