]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests: net: prevent Python from buffering the output
authorJakub Kicinski <kuba@kernel.org>
Wed, 16 Jul 2025 20:57:12 +0000 (13:57 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 17 Jul 2025 23:27:38 +0000 (16:27 -0700)
commit797f080c463d9866ca8a4bcc8cf0f512dec634e6
treeda66931e77a8ff4e85af7fa269c96437b0212614
parent25bf7d7f458c0c685b2be62a5b16534b9d6bf806
selftests: net: prevent Python from buffering the output

Make sure Python doesn't buffer the output, otherwise for some
tests we may see false positive timeouts in NIPA. NIPA thinks that
a machine has hung if the test doesn't print anything for 3min.
This is also nice to heave for running the tests manually,
especially in vng.

Reviewed-by: Petr Machata <petrm@nvidia.com>
Link: https://patch.msgid.link/20250716205712.1787325-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/lib/py/ksft.py