]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-154437: Fix test_getcwd_long_path on DragonFly BSD (GH-154438) (GH-154454)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 22 Jul 2026 09:36:14 +0000 (11:36 +0200)
committerGitHub <noreply@github.com>
Wed, 22 Jul 2026 09:36:14 +0000 (09:36 +0000)
commit314e753c084ebcf6a1b311d64f5aff0547eef10a
treef53e22d621bcf87ddebcdba2fd8c553983b5957c
parent074a365c5b377b920ac345b777f14d0150ad3244
[3.15] gh-154437: Fix test_getcwd_long_path on DragonFly BSD (GH-154438) (GH-154454)

DragonFly BSD raises EFAULT instead of ENAMETOOLONG when the path
exceeds PATH_MAX.
(cherry picked from commit 1bf86c134a5260876ad31fb32b832cbea24c21ad)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Lib/test/test_os/test_os.py