From: Ronny Chevalier Date: Wed, 14 Jan 2015 23:07:15 +0000 (+0100) Subject: test-path: do not skip tests if we are not root X-Git-Tag: v219~496 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=78a8e158da95aa144982f2c8aed354ef91c095b8;p=elogind.git test-path: do not skip tests if we are not root We can properly run the tests without being root --- 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++) {