When running dbus-daemon --session in tests, override listen address
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 19 Oct 2015 14:19:27 +0000 (15:19 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 26 Oct 2015 11:57:35 +0000 (11:57 +0000)
commit4eddd1bf52dd00dfc651f3aa3e2411d9d438ef51
treef8083853df34288aba25f3efa7974d2540617d0f
parent382cb17d37e9098b2dcec6bc20b92467b63a7ae3
When running dbus-daemon --session in tests, override listen address

Otherwise, we can't reliably run tests for Windows, because the default
listening address on Windows is "autolaunch:" which is global to
a machine, resulting in testing an installed dbus-daemon instead of
the one we intended to test.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=92538
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
test/test-utils-glib.c