RE: [PATCH v5 11/22] test/telemetry: catch errors in subshell

2025-07-24 Thread Marat Khalili
> -Original Message- > From: David Marchand > Sent: Wednesday 23 July 2025 14:32 > To: dev@dpdk.org > Cc: Bruce Richardson > Subject: [PATCH v5 11/22] test/telemetry: catch errors in subshell > > This script relies on subshell and pipes to prepare a list of c

[PATCH v5 11/22] test/telemetry: catch errors in subshell

2025-07-23 Thread David Marchand
This script relies on subshell and pipes to prepare a list of commands to pass to the telemetry script. However, errors are not propagated to the parent process and the test may still pass when an error occurs. There is no POSIX option to cleanly catch all errors, so rely on bash options (as some