diff options
author | Thomas Haller <thaller@redhat.com> | 2015-08-01 11:17:41 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-08-01 11:18:26 +0200 |
commit | 1c2883c940917e558e604e7ab0eeb1275d24a939 (patch) | |
tree | 691bf1dd893e012e84f94301a95540a145f3a600 | |
parent | 3a7db0dd9e59d948beda82a395d9756a242c5143 (diff) | |
download | NetworkManager-1c2883c940917e558e604e7ab0eeb1275d24a939.tar.gz |
platform/tests: fix assertion for test-link for team device
Seems that team changed to now also raise two change signals.
Relax the assertion that broke tests on Fedora 22.
-rw-r--r-- | src/platform/tests/test-link.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/platform/tests/test-link.c b/src/platform/tests/test-link.c index dc7b83975d..ce371b7524 100644 --- a/src/platform/tests/test-link.c +++ b/src/platform/tests/test-link.c @@ -231,10 +231,7 @@ test_slave (int master, int type, SignalData *master_changed) g_assert (nm_platform_link_release (NM_PLATFORM_GET, master, ifindex)); g_assert_cmpint (nm_platform_link_get_master (NM_PLATFORM_GET, ifindex), ==, 0); accept_signals (link_changed, 1, 3); - if (link_type != NM_LINK_TYPE_TEAM) - accept_signals (master_changed, 1, 2); - else - accept_signals (master_changed, 1, 1); + accept_signals (master_changed, 1, 2); ensure_no_signal (master_changed); |