Commit cbd1e58f authored by Gregory P. Smith's avatar Gregory P. Smith

fix for netbsd.

parent 08167ddf
...@@ -362,8 +362,10 @@ class GeneralModuleTests(unittest.TestCase): ...@@ -362,8 +362,10 @@ class GeneralModuleTests(unittest.TestCase):
# Find one service that exists, then check all the related interfaces. # Find one service that exists, then check all the related interfaces.
# I've ordered this by protocols that have both a tcp and udp # I've ordered this by protocols that have both a tcp and udp
# protocol, at least for modern Linuxes. # protocol, at least for modern Linuxes.
if sys.platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6', if (sys.platform.startswith('linux') or
'freebsd7', 'freebsd8', 'darwin'): sys.platform.startswith('freebsd') or
sys.platform.startswith('netbsd') or
sys.platform == 'darwin'):
# avoid the 'echo' service on this platform, as there is an # avoid the 'echo' service on this platform, as there is an
# assumption breaking non-standard port/protocol entry # assumption breaking non-standard port/protocol entry
services = ('daytime', 'qotd', 'domain') services = ('daytime', 'qotd', 'domain')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment