diff options
author | David S. Miller <davem@davemloft.net> | 2018-02-13 14:34:29 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-13 14:34:29 -0500 |
commit | b95367e3bd8eaf2d88d7b7a7ab2847f5a6e70321 (patch) | |
tree | 621fd561ed3ec2ffe9c94dc33f7abee560662e91 /net/dsa/dsa.c | |
parent | 8c2ceabe99e04005cadba739856eed6953a8a3af (diff) | |
parent | e2ba732a1681d907a6dffbaf9802aebcac233099 (diff) | |
download | linux-b95367e3bd8eaf2d88d7b7a7ab2847f5a6e70321.tar.bz2 |
Merge branch 'selftests-fib_tests-simplifications-verbosity-and-a-race'
David Ahern says:
====================
selftests: fib_tests: simplifications, verbosity and a race
Improve efficiency of fib_tests.sh and make the test result more verbose,
from this summary:
$ fib_tests.sh is failing in a VM:
$ fib_tests.sh
Running netdev unregister tests
PASS: unicast route test
PASS: multipath route test
Running netdev down tests
PASS: unicast route test
PASS: multipath route test
Running netdev carrier change tests
PASS: local route carrier test
FAIL: unicast route carrier test
where a single entry actually corresponds to many checks to a much more
verbse output that clarifies test cases:
$fib_tests.sh
Single path route carrier test
....
Carrier down
IPv4 fibmatch [ OK ]
IPv6 fibmatch [ OK ]
IPv4 linkdown flag set [FAIL]
IPv6 linkdown flag set [FAIL]
Second address added with carrier down
IPv4 fibmatch [ OK ]
IPv6 fibmatch [ OK ]
IPv4 linkdown flag set [FAIL]
IPv6 linkdown flag set [ OK ]
And then fix the race in changing carrier down on dummy device to checking
the corresponding routes.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/dsa.c')
0 files changed, 0 insertions, 0 deletions