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

Here is the test result after conversion.

 ]# ./vrf_route_leaking.sh

 ###########################################################################
 IPv4 (sym route): VRF ICMP ttl error route lookup ping
 ###########################################################################

 TEST: Basic IPv4 connectivity                                       [ OK ]
 TEST: Ping received ICMP ttl exceeded                               [ OK ]

 ...

 TEST: Basic IPv6 connectivity                                       [ OK ]
 TEST: Traceroute6 reports a hop on r1                               [ OK ]

 Tests passed:  18
 Tests failed:   0

Acked-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/vrf_route_leaking.sh