]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests: drv-net: tso: make bkg() wait for socat to quit
authorJakub Kicinski <kuba@kernel.org>
Wed, 4 Jun 2025 01:20:55 +0000 (18:20 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 5 Jun 2025 15:01:00 +0000 (08:01 -0700)
commite6854be4d80ea266a7be64a65a0322bcdfa72807
treed8c83256258754aaf8bfa3a5d32ea70b6e48ebec
parentc68804c934e3197e34560744854c57cf88dff8e7
selftests: drv-net: tso: make bkg() wait for socat to quit

Commit 846742f7e32f ("selftests: drv-net: add a warning for
bkg + shell + terminate") added a warning for bkg() used
with terminate=True. The tso test was missed as we didn't
have it running anywhere in NIPA. Add exit_wait=True, to avoid:

  # Warning: combining shell and terminate is risky!
  #          SIGTERM may not reach the child on zsh/ksh!

getting printed twice for every variant.

Fixes: 0d0f4174f6c8 ("selftests: drv-net: add a simple TSO test")
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20250604012055.891431-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/hw/tso.py