]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-127076: Disable strace tests under LD_PRELOAD (#127086)
authorCody Maloney <cmaloney@users.noreply.github.com>
Thu, 21 Nov 2024 09:33:12 +0000 (01:33 -0800)
committerGitHub <noreply@github.com>
Thu, 21 Nov 2024 09:33:12 +0000 (10:33 +0100)
commitff2278e2bf660155ca8f7c0529190ca59a41c13a
treea3faef0307e70fda6a1f9c1e18dda7b2850c7ad7
parent1629d2ca56014beb2d46c42cc199a43ac97e3b97
gh-127076: Disable strace tests under LD_PRELOAD (#127086)

Distribution tooling (ex. sandbox on Gentoo and fakeroot on Debian) uses
LD_PRELOAD to intercept system calls and potentially modify them when
building. These tools can change the set of system calls, so disable
system call testing under these cases.

Co-authored-by: Michał Górny <mgorny@gentoo.org>
Lib/test/support/strace_helper.py
Misc/NEWS.d/next/Tests/2024-11-21-02-03-48.gh-issue-127076.a3avV1.rst [new file with mode: 0644]