[Bug 48600] dbus-tube-chan test assumes abstract sockets are supported
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Apr 12 15:02:20 CEST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=48600
--- Comment #1 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-04-12 06:02:20 PDT ---
Created attachment 59857
--> https://bugs.freedesktop.org/attachment.cgi?id=59857
dbus-tube-chan test: listen on a random address appropriate for the OS
Instead of hard-coding the abstract Unix socket '\000dbus-tube-test',
listen on a random (abstract or real) Unix socket in /tmp if on Unix,
or a random port on 127.0.0.1 if not. These are the same listening
addresses I used in test/loopback.c in libdbus. The Unix version also
matches what the session bus normally uses.
This fixes the test on non-Linux Unix (not insisting on
abstract-namespace sockets working), when run twice in parallel on Linux
(not insisting on using a particular hard-coded name), and in theory
also on Windows (not trying to use Unix sockets).
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the telepathy-bugs
mailing list