mirror of
https://github.com/systemd/systemd.git
synced 2026-08-04 15:10:33 +00:00
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:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user