]> git.itanic.dy.fi Git - linux-stable/commit
selftests/net: convert test_vxlan_nolocalbypass.sh to run it in unique namespace
authorHangbin Liu <liuhangbin@gmail.com>
Wed, 6 Dec 2023 07:07:56 +0000 (15:07 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Dec 2023 12:12:16 +0000 (12:12 +0000)
commitd79e907b425d1dcc831f9eddbdb09682292faed0
treef81e9c40ebc17d8d53c5f1120654c50274d99168
parenta8258e64ca74314478fda85a42b1c1eb2db29c67
selftests/net: convert test_vxlan_nolocalbypass.sh to run it in unique namespace

Here is the test result after conversion.

]# ./test_vxlan_nolocalbypass.sh
TEST: localbypass enabled                                           [ OK ]
TEST: Packet received by local VXLAN device - localbypass           [ OK ]
TEST: localbypass disabled                                          [ OK ]
TEST: Packet not received by local VXLAN device - nolocalbypass     [ OK ]
TEST: localbypass enabled                                           [ OK ]
TEST: Packet received by local VXLAN device - localbypass           [ OK ]

Tests passed:   6
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>
tools/testing/selftests/net/test_vxlan_nolocalbypass.sh