]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: net: fix passive TFO test to fail if child processes failed
authorYohei Kojima <yk@y-koj.net>
Tue, 13 Jan 2026 14:11:54 +0000 (23:11 +0900)
committerJakub Kicinski <kuba@kernel.org>
Sun, 18 Jan 2026 02:01:26 +0000 (18:01 -0800)
commit52b4859730434902731e1cd4ea061d9611398008
treecfb004d4488c377623acc57d52229471f4de2649
parentba4550d5d724b693b142812af435b0984fbb9da0
selftests: net: fix passive TFO test to fail if child processes failed

Improve the passive TFO test to report failure if the server or the
client timed out or exited with non-zero status.

Before this commit, TFO test didn't fail even if exit(EXIT_FAILURE) is
added to the first line of the run_server() and run_client() functions.

Signed-off-by: Yohei Kojima <yk@y-koj.net>
Link: https://patch.msgid.link/214d399caec2e5de7738ced5736829915d507e4e.1768312014.git.yk@y-koj.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/tfo_passive.sh