]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests: openvswitch: Be more verbose with selftest debugging.
authorAaron Conole <aconole@redhat.com>
Tue, 2 Jul 2024 13:28:30 +0000 (09:28 -0400)
committerJakub Kicinski <kuba@kernel.org>
Thu, 4 Jul 2024 02:29:15 +0000 (19:29 -0700)
commit7abfd8ecb7858006edceeeb49c82a1eece2982f5
treeb2eacbc43a0bb9fc1f5dfa25613f4b95e9b12fda
parent818481db3df41e58396d13fd9fad77542a0706be
selftests: openvswitch: Be more verbose with selftest debugging.

The openvswitch selftest is difficult to debug for anyone that isn't
directly familiar with the openvswitch module and the specifics of the
test cases.  Many times when something fails, the debug log will be
sparsely populated and it takes some time to understand where a failure
occured.

Increase the amount of details logged to the debug log by trapping all
'info' logs, and all 'ovs_sbx' commands.

Signed-off-by: Aaron Conole <aconole@redhat.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240702132830.213384-4-aconole@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/openvswitch/openvswitch.sh