diff options
author | 2025-05-02 14:29:21 +0200 | |
---|---|---|
committer | 2025-05-05 16:51:59 -0700 | |
commit | 6d0eb15c65019b2b17bd6db9b32a60a219e40078 (patch) | |
tree | e7f89c6d0580108e99c6efeb56fd302c14e00e17 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | sctp: Remove unused sctp_assoc_del_peer and sctp_chunk_iif (diff) | |
download | wireguard-linux-6d0eb15c65019b2b17bd6db9b32a60a219e40078.tar.xz wireguard-linux-6d0eb15c65019b2b17bd6db9b32a60a219e40078.zip |
selftests: mptcp: info: hide 'grep: write error' warnings
mptcp_lib_get_info_value() will only print the first entry that match
the filter because of the ';q' at the end. As a consequence, the 'sed'
command could finish before the previous 'grep' one and print a 'write
error' warning because it is trying to write data to the closed pipe.
Such warnings are not interesting, they can be hidden by muting stderr
here for grep.
While at it, clearly indicate that mptcp_lib_get_info_value() will only
print the first matched entry to avoid confusions later on.
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20250502-net-next-mptcp-sft-inc-cover-v1-1-68eec95898fb@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions