chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
journal: optimize bisection logic a bit by caching the last position
[elogind.git]
/
src
/
test
/
test-unit-name.c
diff --git
a/src/test/test-unit-name.c
b/src/test/test-unit-name.c
index 67ccdd42289d2439a654d78485be3897a4d6116d..bde643ad56a249a4c1278be78acf86cfa66c0236 100644
(file)
--- a/
src/test/test-unit-name.c
+++ b/
src/test/test-unit-name.c
@@
-125,7
+125,7
@@
static int test_unit_printf(void) {
assert_se(asprintf(&root_uid, "%d", (int) root->pw_uid) > 0);
r = manager_new(SYSTEMD_USER, false, &m);
assert_se(asprintf(&root_uid, "%d", (int) root->pw_uid) > 0);
r = manager_new(SYSTEMD_USER, false, &m);
- if (r == -EPERM || r == -EACCES) {
+ if (r == -EPERM || r == -EACCES
|| r == -EADDRINUSE
) {
puts("manager_new: Permission denied. Skipping test.");
return EXIT_TEST_SKIP;
}
puts("manager_new: Permission denied. Skipping test.");
return EXIT_TEST_SKIP;
}