bkg() is a helper for running commands in the background.
When init or body of a with() block fails check if the bkg()
process already exited and report its status (including stdout/
/stderr). This significantly improves debugability.

Jakub Kicinski (3):
  selftests: net: py: avoid masking exceptions in bkg() failures
  selftests: net: py: use repr(cmd) for failure exceptions
  selftests: net: py: add cmd info for ksft_wait failure

 tools/testing/selftests/net/lib/py/utils.py | 44 +++++++++++++++------
 1 file changed, 31 insertions(+), 13 deletions(-)

-- 
2.53.0


Reply via email to