selftests: net: amt: indicate progress in the stress test
authorJakub Kicinski <kuba@kernel.org>
Thu, 3 Apr 2025 14:56:36 +0000 (07:56 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 4 Apr 2025 15:02:09 +0000 (08:02 -0700)
commit94f68c0f99a548d33a102672690100bf76a7c460
tree35bb9895230244cccdb2506e12f579bbcc35c4b3
parentaf6610ef2e6bab8bd80d09e000a7f314fd7d85a0
selftests: net: amt: indicate progress in the stress test

Our CI expects output from the test at least once every 10 minutes.
The AMT test when running on debug kernel is just on the edge
of that time for the stress test. Improve the output:
 - print the name of the test first, before starting it,
 - output a dot every 10% of the way.

Output after:

  TEST: amt discovery                                                 [ OK ]
  TEST: IPv4 amt multicast forwarding                                 [ OK ]
  TEST: IPv6 amt multicast forwarding                                 [ OK ]
  TEST: IPv4 amt traffic forwarding torture               ..........  [ OK ]
  TEST: IPv6 amt traffic forwarding torture               ..........  [ OK ]

Reviewed-by: Taehee Yoo <ap420073@gmail.com>
Link: https://patch.msgid.link/20250403145636.2891166-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/amt.sh