X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Ftest%2Ftest-path.c;fp=src%2Ftest%2Ftest-path.c;h=1512ae2b195aad753a15b3c70b453893efce9fd8;hb=78a8e158da95aa144982f2c8aed354ef91c095b8;hp=2063ed25439545444269cccd3874a56368c5de2d;hpb=68e68ca8106e7cd874682ae425843b48579c6539;p=elogind.git 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++) {