• David Ahern's avatar
    selftests: fib_tests: Add prefix route tests with metric · d69faad7
    David Ahern authored
    Add tests verifying prefix routes are inserted with expected metric.
    
    IPv6 prefix route tests
        TEST: Default metric                                      [ OK ]
        TEST: User specified metric on first device               [ OK ]
        TEST: User specified metric on second device              [ OK ]
        TEST: Delete of address on first device                   [ OK ]
        TEST: Modify metric of address                            [ OK ]
        TEST: Prefix route removed on link down                   [ OK ]
        TEST: Prefix route with metric on link up                 [ OK ]
    
    IPv4 prefix route tests
        TEST: Default metric                                      [ OK ]
        TEST: User specified metric on first device               [ OK ]
        TEST: User specified metric on second device              [ OK ]
        TEST: Delete of address on first device                   [ OK ]
        TEST: Modify metric of address                            [ OK ]
        TEST: Prefix route removed on link down                   [ OK ]
        TEST: Prefix route with metric on link up                 [ OK ]
    Signed-off-by: default avatarDavid Ahern <dsahern@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    d69faad7
fib_tests.sh 39.1 KB