Commit b2c0921b authored by Benjamin Poirier's avatar Benjamin Poirier Committed by Jakub Kicinski

selftests: net: Fix netdev name mismatch in cleanup

lag_lib.sh creates the interfaces dummy1 and dummy2 whereas
dev_addr_lists.sh:destroy() deletes the interfaces dummy0 and dummy1. Fix
the mismatch in names.

Fixes: bbb774d9 ("net: Add tests for bonding and team address list management")
Signed-off-by: default avatarBenjamin Poirier <bpoirier@nvidia.com>
Reviewed-by: default avatarJonathan Toppins <jtoppins@redhat.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent ae108c48
...@@ -18,7 +18,7 @@ source "$lib_dir"/lag_lib.sh ...@@ -18,7 +18,7 @@ source "$lib_dir"/lag_lib.sh
destroy() destroy()
{ {
local ifnames=(dummy0 dummy1 team0 mv0) local ifnames=(dummy1 dummy2 team0 mv0)
local ifname local ifname
for ifname in "${ifnames[@]}"; do for ifname in "${ifnames[@]}"; do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment