]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: icmp_redirect: support expected failures
authorAndrea Righi <andrea.righi@canonical.com>
Tue, 22 Jun 2021 07:46:48 +0000 (09:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jun 2021 19:22:30 +0000 (12:22 -0700)
commit1a1f634b7d48889283fddc01a308453964217743
tree4bfd42af4c4ee2b0826008be194d1765543021bf
parente18fece2e5c13937c957b5f97ac6be9e404e6301
selftests: icmp_redirect: support expected failures

According to a comment in commit c964368f8263 ("selftest: Fixes for
icmp_redirect test") the test "IPv6: mtu exception plus redirect" is
expected to fail, because of a bug in the IPv6 logic that hasn't been
fixed yet apparently.

We should probably consider this failure as an "expected failure",
therefore change the script to return XFAIL for that particular test and
also report the total amount of expected failures at the end of the run.

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/icmp_redirect.sh