selftests: drivers: hw: ethtool.sh: Adjust output
authorPetr Machata <petrm@nvidia.com>
Fri, 12 Apr 2024 17:03:08 +0000 (19:03 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 16 Apr 2024 10:14:41 +0000 (12:14 +0200)
commitf359d44a4e83eba434f00c4363e4b97928fd5661
treeb9615ec3f3ba1df0506b08b467666be5bd3e02a8
parent042db639bf33aee118846a87223acebe6700137d
selftests: drivers: hw: ethtool.sh: Adjust output

Some log_test calls are done in a loop, and lead to the same log output.
This might prove tricky to deduplicate for automated tools. Instead, roll
the unique information from log_info to log_test, and drop the log_info.
This also leads to more compact and clearer output.

This change prompts rewording the messages so that they are not excessively
long.

Some check_err messages do not indicate what the issue actually is, so
reword them to say it's a "ping with", like is the case in some other
instances in this test.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/testing/selftests/drivers/net/hw/ethtool.sh