mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 18:00:10 +01: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;
|
||||
}
|
||||
nmtstp_run_command("ip -%c route flush dev %s"
|
||||
"%s" /* redirect */
|
||||
" table %s" /* table */
|
||||
"%s" /* redirect */
|
||||
"",
|
||||
addr_family_char[IS_IPv4],
|
||||
ifname,
|
||||
nmtst_rand_select_str("main", "10222", "10223", "all"),
|
||||
nmtst_is_debug() ? "" : " &>/dev/null");
|
||||
_ensure_onlink_routes();
|
||||
goto done;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue