python/dist/src/Lib/test test_socket.py, 1.76, 1.77
Update of /cvsroot/python/python/dist/src/Lib/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27427/Lib/test Modified Files: test_socket.py Log Message: Add 'linux2' as one of the platforms that does not use the echo service as one of the test possiblities for testGetServBy(). Index: test_socket.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/test/test_socket.py,v retrieving revision 1.76 retrieving revision 1.77 diff -u -d -r1.76 -r1.77 --- test_socket.py 18 Aug 2004 15:13:41 -0000 1.76 +++ test_socket.py 20 Nov 2004 21:10:07 -0000 1.77 @@ -311,7 +311,8 @@ # 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 ('freebsd4', 'freebsd5', 'freebsd6', 'darwin'): + if sys.platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6', + 'darwin'): # avoid the 'echo' service on this platform, as there is an # assumption breaking non-standard port/protocol entry services = ('daytime', 'qotd', 'domain')
participants (1)
-
bcannon@users.sourceforge.net