diff options
author | 2025-05-14 16:19:27 +0200 | |
---|---|---|
committer | 2025-05-16 18:01:32 -0700 | |
commit | 3c6abbe85bccd8efb5d9147a022b1d4012cb1809 (patch) | |
tree | 0ca72c6f0749fdf9076dc0b04825f975ce6f67ce /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | vsock/test: retry send() to avoid occasional failure in sigpipe test (diff) | |
download | wireguard-linux-3c6abbe85bccd8efb5d9147a022b1d4012cb1809.tar.xz wireguard-linux-3c6abbe85bccd8efb5d9147a022b1d4012cb1809.zip |
vsock/test: check also expected errno on sigpipe test
In the sigpipe test, we expect send() to fail, but we do not check if
send() fails with the errno we expect (EPIPE).
Add this check and repeat the send() in case of EINTR as we do in other
tests.
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Link: https://patch.msgid.link/20250514141927.159456-4-sgarzare@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions