chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
swap: simplify a few things by making use of new LIST_FOREACH_OTHERS macro
[elogind.git]
/
src
/
test
/
test-path.c
diff --git
a/src/test/test-path.c
b/src/test/test-path.c
index 2063ed25439545444269cccd3874a56368c5de2d..1512ae2b195aad753a15b3c70b453893efce9fd8 100644
(file)
--- 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();
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++) {
assert_se(set_unit_path(TEST_DIR ":") >= 0);
for (test = tests; test && *test; test++) {