diff options
| author | Michael Biebl <biebl@debian.org> | 2015-07-14 19:38:58 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2015-07-14 19:38:58 +0200 |
| commit | 50a58f0fabd8a34c1b6108a107e08abe3c1ccd24 (patch) | |
| tree | 6790165f39daee79e2b6c6617483320613493367 /src/rdisc/tests/test-rdisc-fake.c | |
| parent | f408e27bccfacf347605a8d98649975a68f38a17 (diff) | |
Imported Upstream version 1.0.4 upstream/1.0.4
Diffstat (limited to 'src/rdisc/tests/test-rdisc-fake.c')
| -rw-r--r-- | src/rdisc/tests/test-rdisc-fake.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rdisc/tests/test-rdisc-fake.c b/src/rdisc/tests/test-rdisc-fake.c index 8b7bd37a..33672637 100644 --- a/src/rdisc/tests/test-rdisc-fake.c +++ b/src/rdisc/tests/test-rdisc-fake.c @@ -36,7 +36,7 @@ rdisc_new (void) { NMRDisc *rdisc; const int ifindex = 1; - const char *ifname = nm_platform_link_get_name (ifindex); + const char *ifname = nm_platform_link_get_name (NM_PLATFORM_GET, ifindex); rdisc = nm_fake_rdisc_new (ifindex, ifname); g_assert (rdisc); @@ -439,7 +439,7 @@ main (int argc, char **argv) if (nmtst_test_quick ()) { g_print ("Skipping test: don't run long running test %s (NMTST_DEBUG=slow)\n", str_if_set (g_get_prgname (), "test-rdisc-fake")); - return EXIT_SKIP; + return g_test_run (); } nm_fake_platform_setup (); |