2
0
Fork 0

[tests]: Bind to relative socket filenames

personal/stbuehler/wip
Stefan Bühler 2010-10-17 15:11:45 +02:00
parent 9568d7a41a
commit 1577d28029
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ class FastCGI(Service):
def Prepare(self):
sockdir = self.tests.PrepareDir(os.path.join("tmp", "sockets"))
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
sock.bind(self.sockfile)
sock.bind(os.path.relpath(self.sockfile))
sock.listen(8)
self.fork(*self.binary, inp = sock)