mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 10:20:11 +01:00
platform/tests: avoid recent route protocols in "/route/test_cache_consistency_routes" tests
Ubuntu 18.04 comes with iproute2-4.15.0-2ubuntu1.3. The
"/etc/iproute2/rt_protos" file from that version does not yet support
the "bgp" entry. Also the "babel" entry is only from 2014. Just choose
other entries. The point is that NetworkManager would ignore those, and
that applies to "zebra" and "bird" alike.
(cherry picked from commit 26592ebfe5)
This commit is contained in:
parent
487ebbe3c8
commit
7268da807f
1 changed files with 1 additions and 1 deletions
|
|
@ -2262,7 +2262,7 @@ test_cache_consistency_routes(gconstpointer test_data)
|
|||
if (s) {
|
||||
if (nmtst_get_rand_bool()) {
|
||||
s = nm_streq(s, "kernel") ? nmtst_rand_select_str("boot", "static", "ra")
|
||||
: nmtst_rand_select_str("babel", "bgp");
|
||||
: nmtst_rand_select_str("zebra", "bird");
|
||||
}
|
||||
extra_options[n_extra_options++] = "proto";
|
||||
extra_options[n_extra_options++] = s;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue