mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Fixes for KFreeBSD and the Hurd:
- Issue #21274: Define PATH_MAX for GNU/Hurd in Python/pythonrun.c. - Issue #21276: posixmodule: Don't define USE_XATTRS on KFreeBSD and the Hurd. - Issue #21275: Fix a socket test on KFreeBSD.
This commit is contained in:
parent
a3818a3043
commit
4a173bc4ed
4 changed files with 15 additions and 2 deletions
|
@ -867,7 +867,7 @@ class GeneralModuleTests(unittest.TestCase):
|
|||
# Find one service that exists, then check all the related interfaces.
|
||||
# I've ordered this by protocols that have both a tcp and udp
|
||||
# protocol, at least for modern Linuxes.
|
||||
if (sys.platform.startswith(('freebsd', 'netbsd'))
|
||||
if (sys.platform.startswith(('freebsd', 'netbsd', 'gnukfreebsd'))
|
||||
or sys.platform in ('linux', 'darwin')):
|
||||
# avoid the 'echo' service on this platform, as there is an
|
||||
# assumption breaking non-standard port/protocol entry
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue