mirror of
https://github.com/python/cpython.git
synced 2024-11-28 20:33:54 +08:00
fix for netbsd.
This commit is contained in:
parent
f6782ac0b6
commit
b603d03f15
@ -362,8 +362,10 @@ 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 in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6',
|
||||
'freebsd7', 'freebsd8', 'darwin'):
|
||||
if (sys.platform.startswith('linux') or
|
||||
sys.platform.startswith('freebsd') or
|
||||
sys.platform.startswith('netbsd') or
|
||||
sys.platform == 'darwin'):
|
||||
# avoid the 'echo' service on this platform, as there is an
|
||||
# assumption breaking non-standard port/protocol entry
|
||||
services = ('daytime', 'qotd', 'domain')
|
||||
|
Loading…
Reference in New Issue
Block a user