1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-27 18:04:05 +03:00

Move test-loopback to normal tests

In the normal case lo should be already configured and this should be
a noop, even when run under root.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2016-02-26 09:00:33 -05:00
parent 04c760d2fe
commit f26b57d12a
2 changed files with 3 additions and 3 deletions

View File

@ -1387,7 +1387,6 @@ EXTRA_DIST += \
manual_tests += \
test-ns \
test-loopback \
test-hostname \
test-daemon \
test-cgroup \
@ -1411,6 +1410,7 @@ manual_tests += \
endif
tests += \
test-loopback \
test-engine \
test-cgroup-mask \
test-job-type \

View File

@ -31,7 +31,7 @@ int main(int argc, char* argv[]) {
r = loopback_setup();
if (r < 0)
fprintf(stderr, "loopback: %s\n", strerror(-r));
log_error("loopback: %m");
return 0;
return r >= 0 ? EXIT_SUCCESS : EXIT_FAILURE;
}