Skip to content

Commit 65a3cce

Browse files
pmachatakuba-moo
authored andcommitted
selftests: forwarding: local_termination: Down ports on cleanup
This test neglects to put ports down on cleanup. Fix it. Fixes: 90b9566 ("selftests: forwarding: add a test for local_termination.sh") Signed-off-by: Petr Machata <petrm@nvidia.com> Link: https://patch.msgid.link/bf9b79f45de378f88344d44550f0a5052b386199.1724692132.git.petrm@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent e8497d6 commit 65a3cce

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/testing/selftests/net/forwarding/local_termination.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,10 @@ vlan_over_vlan_aware_bridge()
571571
cleanup()
572572
{
573573
pre_cleanup
574+
575+
ip link set $h2 down
576+
ip link set $h1 down
577+
574578
vrf_cleanup
575579
}
576580

0 commit comments

Comments
 (0)