From 78a8e158da95aa144982f2c8aed354ef91c095b8 Mon Sep 17 00:00:00 2001 From: Ronny Chevalier Date: Thu, 15 Jan 2015 00:07:15 +0100 Subject: [PATCH] test-path: do not skip tests if we are not root We can properly run the tests without being root --- src/test/test-path.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/test/test-path.c b/src/test/test-path.c index 2063ed254..1512ae2b1 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++) { -- 2.30.2