]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests/net: convert test_bridge_neigh_suppress.sh to run it in unique namespace
authorHangbin Liu <liuhangbin@gmail.com>
Wed, 6 Dec 2023 07:07:54 +0000 (15:07 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 May 2024 10:02:22 +0000 (12:02 +0200)
commit2ee2fc6786bc5ff3c24798624ea3806c9662c26f
treeb8c7dd2e92c37b4c03c7c1e71fe2991adebf141b
parent68c8ba16ab712eb709c6bab80ff151079d11d97a
selftests/net: convert test_bridge_neigh_suppress.sh to run it in unique namespace

[ Upstream commit 312abe3d93a35f9c486a4703d39cab52457266f0 ]

Here is the test result after conversion.

]# ./test_bridge_neigh_suppress.sh

Per-port ARP suppression - VLAN 10
----------------------------------
TEST: arping                                                        [ OK ]
TEST: ARP suppression                                               [ OK ]

...

TEST: NS suppression (VLAN 20)                                      [ OK ]

Tests passed: 148
Tests failed:   0

Acked-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Tested-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 9a169c267e94 ("selftests: test_bridge_neigh_suppress.sh: Fix failures due to duplicate MAC")
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/net/test_bridge_neigh_suppress.sh