]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: fib rule: Log test description
authorGuillaume Nault <gnault@redhat.com>
Mon, 31 Jan 2022 15:42:06 +0000 (16:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Feb 2022 14:14:47 +0000 (14:14 +0000)
commit21f25cd43672c8eb8d80adcb498bbdf855a6405a
tree85b61e82482b94246fb808739839dcbeb2463e59
parent2e252113632704a04676a963bd1bc10e8d52bed7
selftests: fib rule: Log test description

All callers of fib_rule6_test_match_n_redirect() and
fib_rule4_test_match_n_redirect() pass a third argument containing a
description of the test being run. Instead of ignoring this argument,
let's use it for logging instead of printing a truncated version of the
command.

Signed-off-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/fib_rule_tests.sh