selftests: drv-net: add stdout to the command failed exception
authorJakub Kicinski <kuba@kernel.org>
Tue, 16 Apr 2024 00:45:51 +0000 (17:45 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 17 Apr 2024 01:54:06 +0000 (18:54 -0700)
commit232d79aaa7816aa09766962616c768d349947f17
tree78d326f0efa7e28711c334633cd2601f5f4ed555
parent86600ea11dc18ecd10110c13148d0fb04a80ceea
selftests: drv-net: add stdout to the command failed exception

ping prints all the info to stdout. To make debug easier capture
stdout in the Exception raised when command unexpectedly fails.

Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://lore.kernel.org/r/20240416004556.1618804-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/lib/py/utils.py