]> git.dujemihanovic.xyz Git - linux.git/commit
selftests: net: local_termination: annotate the expected failures
authorJakub Kicinski <kuba@kernel.org>
Thu, 16 May 2024 15:25:13 +0000 (08:25 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 17 May 2024 19:26:35 +0000 (12:26 -0700)
commitfe56d6e4a99a40f50e64d5a8043f1fa838b1f7a1
treee06f00ad4320de119c9b5b59751e6a68043b7e1c
parentf0fa84116434b50a8d249d0da8852f410a21ba98
selftests: net: local_termination: annotate the expected failures

Vladimir said when adding this test:

  The bridge driver fares particularly badly [...] mainly because
  it does not implement IFF_UNICAST_FLT.

See commit 90b9566aa5cd ("selftests: forwarding: add a test for
local_termination.sh").

We don't want to hide the known gaps, but having a test which
always fails prevents us from catching regressions. Report
the cases we know may fail as XFAIL.

Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Link: https://lore.kernel.org/r/20240516152513.1115270-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/forwarding/local_termination.sh