• Hangbin Liu's avatar
    selftests/net: convert vrf-xfrm-tests.sh to run it in unique namespace · 61b12ebe
    Hangbin Liu authored
    Here is the test result after conversion.
    
    ]# ./vrf-xfrm-tests.sh
    
    No qdisc on VRF device
    TEST: IPv4 no xfrm policy                                           [ OK ]
    TEST: IPv6 no xfrm policy                                           [ OK ]
    TEST: IPv4 xfrm policy based on address                             [ OK ]
    TEST: IPv6 xfrm policy based on address                             [ OK ]
    TEST: IPv6 xfrm policy with VRF in selector                         [ OK ]
    TEST: IPv4 xfrm policy with xfrm device                             [ OK ]
    TEST: IPv6 xfrm policy with xfrm device                             [ OK ]
    
    netem qdisc on VRF device
    TEST: IPv4 no xfrm policy                                           [ OK ]
    TEST: IPv6 no xfrm policy                                           [ OK ]
    TEST: IPv4 xfrm policy based on address                             [ OK ]
    TEST: IPv6 xfrm policy based on address                             [ OK ]
    TEST: IPv6 xfrm policy with VRF in selector                         [ OK ]
    TEST: IPv4 xfrm policy with xfrm device                             [ OK ]
    TEST: IPv6 xfrm policy with xfrm device                             [ OK ]
    
    Tests passed:  14
    Tests failed:   0
    Acked-by: default avatarDavid Ahern <dsahern@kernel.org>
    Signed-off-by: default avatarHangbin Liu <liuhangbin@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    61b12ebe
vrf-xfrm-tests.sh 10.7 KB