On Mon, Aug 11, 2025 at 04:13:33PM -0700, Jakub Kicinski wrote:
> There is a number of:
>
> with bkg("socat ..LISTEN..", exit_wait=True)
>
> uses in the tests. If whatever is supposed to send the traffic
> fails we will get stuck in the bkg(). Try to kill the process
> in case of exception, to avoid the long wait.
>
> A specific example where this happens is the devmem Tx tests.
>
> Signed-off-by: Jakub Kicinski <[email protected]>
> ---
> tools/testing/selftests/net/lib/py/utils.py | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
Reviewed-by: Joe Damato <[email protected]>