]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
selftests: icmp_redirect: support expected failures
authorAndrea Righi <andrea.righi@canonical.com>
Thu, 1 Jul 2021 06:26:00 +0000 (08:26 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Thu, 15 Jul 2021 17:24:23 +0000 (19:24 +0200)
commit05690212361d27b6df3c6f15d0de2fe8c3bd4511
tree1dfdc099102776d4474b6875eb4cce1371d14d16
parente757d95fc565e00c683cdfe0f881932f356a89b6
selftests: icmp_redirect: support expected failures

BugLink: https://bugs.launchpad.net/bugs/1880645
According to a comment in commit 99513cfa16c6 ("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>
(cherry picked from commit 0a36a75c6818800c67057458376e99b5f77c2a1f)
Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
tools/testing/selftests/net/icmp_redirect.sh