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:
parent
04c760d2fe
commit
f26b57d12a
@ -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 \
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user