From: Andreas Schneider Date: Wed, 10 Sep 2025 11:31:11 +0000 (+0200) Subject: selftest: Do not use wrappers for samba.tests.docs X-Git-Tag: samba-4.23.0~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4cb72d2c15fc697289a55ef199b810a07f279a4c;p=thirdparty%2Fsamba.git selftest: Do not use wrappers for samba.tests.docs We will run into issues with Python 3.14 passing sockets for concurrently running tasks. https://bugzilla.samba.org/show_bug.cgi?id=15910 Signed-off-by: Andreas Schneider Reviewed-by: Anoop C S Autobuild-User(master): Anoop C S Autobuild-Date(master): Wed Sep 10 19:21:55 UTC 2025 on atb-devel-224 (cherry picked from commit 6cf1bf540e7f433e05a0a4119cff4bdaa608359e) --- diff --git a/selftest/tests.py b/selftest/tests.py index 49fe5e6426b..104fa65f672 100644 --- a/selftest/tests.py +++ b/selftest/tests.py @@ -57,7 +57,14 @@ planpythontestsuite("none", "samba.tests.source") planpythontestsuite("none", "samba.tests.source_chars") if have_man_pages_support: - planpythontestsuite("none", "samba.tests.docs") + # This is a unit test which doesn't need any wrappers. We unset LD_PRELOAD + # as it is causing issues with Python >= 3.14 passing sockets around if a + # task is running concurrently. + planpythontestsuite( + "none", + "samba.tests.docs", + environ={'LD_PRELOAD': ''} + ) try: import testscenarios