]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-104522: Fix test_subprocess failure when build Python in the root home...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 18 Jan 2024 12:19:18 +0000 (13:19 +0100)
committerGitHub <noreply@github.com>
Thu, 18 Jan 2024 12:19:18 +0000 (13:19 +0100)
commit363dddba14741ad1a63b62dde7dc54a8e0ab1f87
treee7dea062b2fd2db19608dcd03cba32b99ea6b2a8
parent2c9872428e65d32e5896cdf4d633027e88680491
[3.11] gh-104522: Fix test_subprocess failure when build Python in the root home directory (GH-114236) (GH-114245)

EPERM is raised when setreuid() fails.
EACCES is set in execve() when the test user has not access to sys.executable.
(cherry picked from commit 311d1e2701037952eaf75f993be76f3092c1f01c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_subprocess.py