mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-06 05:38:15 +02:00
platform/tests: flush all tables in test_cache_consistency_routes() test
(cherry picked from commit 8089133f1c)
This commit is contained in:
parent
dedbc9ef05
commit
eb73367d67
1 changed files with 3 additions and 1 deletions
|
|
@ -2234,10 +2234,12 @@ test_cache_consistency_routes(gconstpointer test_data)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
nmtstp_run_command("ip -%c route flush dev %s"
|
nmtstp_run_command("ip -%c route flush dev %s"
|
||||||
|
" table %s" /* table */
|
||||||
"%s" /* redirect */
|
"%s" /* redirect */
|
||||||
"",
|
"",
|
||||||
addr_family_char[IS_IPv4],
|
addr_family_char[IS_IPv4],
|
||||||
ifname,
|
ifname,
|
||||||
|
nmtst_rand_select_str("main", "10222", "10223", "all"),
|
||||||
nmtst_is_debug() ? "" : " &>/dev/null");
|
nmtst_is_debug() ? "" : " &>/dev/null");
|
||||||
_ensure_onlink_routes();
|
_ensure_onlink_routes();
|
||||||
goto done;
|
goto done;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue