projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfe134e
)
test-path: fix inverted return value (#7050)
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Tue, 17 Oct 2017 15:49:48 +0000
(17:49 +0200)
committer
GitHub
<noreply@github.com>
Tue, 17 Oct 2017 15:49:48 +0000
(17:49 +0200)
It must be <0 to indicate failure.
Fixes #7050.
src/test/test-path.c
patch
|
blob
|
history
diff --git
a/src/test/test-path.c
b/src/test/test-path.c
index 9de3dd66743573af9174125694b2a9aa9683b397..051dfc4868abdb49eee74b4d2489f1a2a8640024 100644
(file)
--- a/
src/test/test-path.c
+++ b/
src/test/test-path.c
@@
-48,7
+48,7
@@
static int setup_test(Manager **m) {
r = enter_cgroup_subroot();
if (r == -ENOMEDIUM) {
log_notice_errno(r, "Skipping test: cgroupfs not available");
- return EXIT_TEST_SKIP;
+ return
-
EXIT_TEST_SKIP;
}
r = manager_new(UNIT_FILE_USER, MANAGER_TEST_RUN_MINIMAL, &tmp);