diff options
author | Benjamin Poirier <bpoirier@nvidia.com> | 2022-10-19 18:10:42 +0900 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-10-20 21:09:22 -0700 |
commit | b2c0921b926ca69cc399eb356162f35340598112 (patch) | |
tree | a36afd188ceb4ade61aa9875fe0c2a4e4904cc38 /tools/testing | |
parent | ae108c48b5d2b34bcef3c4fb5076f42c922c426a (diff) | |
download | linux-b2c0921b926ca69cc399eb356162f35340598112.tar.bz2 |
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: bbb774d921e2 ("net: Add tests for bonding and team address list management")
Signed-off-by: Benjamin Poirier <bpoirier@nvidia.com>
Reviewed-by: Jonathan Toppins <jtoppins@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing')
-rwxr-xr-x | tools/testing/selftests/drivers/net/team/dev_addr_lists.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/drivers/net/team/dev_addr_lists.sh b/tools/testing/selftests/drivers/net/team/dev_addr_lists.sh index 9684163949f0..33913112d5ca 100755 --- a/tools/testing/selftests/drivers/net/team/dev_addr_lists.sh +++ b/tools/testing/selftests/drivers/net/team/dev_addr_lists.sh @@ -18,7 +18,7 @@ source "$lib_dir"/lag_lib.sh destroy() { - local ifnames=(dummy0 dummy1 team0 mv0) + local ifnames=(dummy1 dummy2 team0 mv0) local ifname for ifname in "${ifnames[@]}"; do |