[Zope-Checkins] CVS: Zope/lib/python/ZEO/tests - forker.py:1.29

Lennart Regebro lennart@regebro.nu
Tue, 17 Dec 2002 20:38:57 +0100


From: "Fred L. Drake, Jr." <fred@zope.com>
> - start_zeo_server():  Only quote the command line args for Windows;
>   these break the tests on Linux, which would only need the quoting if
>   the shell were involved: it's not for os.spawnve().

Very annoying these inconsistencies. I wonder if they are fixable.
Anyway, the tests continue to fail on OpenBSD, but seemingly for completely
different reasons.

This is the errors I get:

Traceback (most recent call last):
  File "/home/lennart/Zope/lib/python/ZEO/tests/ConnectionTests.py", line
66, in setUp
    self.startServer()
  File "/home/lennart/Zope/lib/python/ZEO/tests/ConnectionTests.py", line
119, in startServer
    zeoport, adminaddr, pid = forker.start_zeo_server(
  File "/home/lennart/Zope/lib/python/ZEO/tests/forker.py", line 90, in
start_zeo_server
    s.connect(adminaddr)
error: (22, 'Invalid argument')

adminaddr in this case is ('localhost', 25693) or similar port numbers. I'm
stumped...