activation helper: when compiled for tests, do not reset system bus address
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 2 Oct 2012 08:34:48 +0000 (09:34 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 4 Oct 2012 07:17:27 +0000 (08:17 +0100)
commit62aec8838a2d3841c5f1377c6eef429a7df84aed
tree2bc53da2a7b531a62191f23e09a64036e05b7970
parent40cc5ebd4a5242e39a60111addbf6dd09a760174
activation helper: when compiled for tests, do not reset system bus address

Otherwise, the tests try to connect to the real system bus, which will
often fail - particularly if you run the tests configured for the default
/usr/local (with no intention of installing the result), in which case
the tests would try to connect to /usr/local/var/run/dbus/system_bus_socket.

Reviewed-by: Colin Walters <walters@verbum.org>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=52202
bus/activation-helper.c