]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/test/test-loopback.c
Merge pull request #16532 from yuwata/network-sync-state-file
[thirdparty/systemd.git] / src / test / test-loopback.c
CommitLineData
53e1b683 1/* SPDX-License-Identifier: LGPL-2.1+ */
af5bc85d 2
af5bc85d 3#include <stdio.h>
cf0fbc49 4#include <string.h>
af5bc85d 5
2da780b9 6#include "log.h"
cf0fbc49 7#include "loopback-setup.h"
6d7c4033 8#include "tests.h"
af5bc85d
LP
9
10int main(int argc, char* argv[]) {
11 int r;
12
6d7c4033 13 test_setup_logging(LOG_DEBUG);
2da780b9 14
3cc2aff1
LP
15 r = loopback_setup();
16 if (r < 0)
35bca925 17 log_error_errno(r, "loopback: %m");
af5bc85d 18
f26b57d1 19 return r >= 0 ? EXIT_SUCCESS : EXIT_FAILURE;
af5bc85d 20}