summaryrefslogtreecommitdiffstats
path: root/tools/run-with-tmp-session-bus.sh
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2006-10-26 15:55:44 +0000
committerJohn (J5) Palmieri <johnp@redhat.com>2006-10-26 15:55:44 +0000
commita107da84891f941d591bcaa99641f4058f089c7d (patch)
treebbf7d763a721c2e134a51a3262ff8437d18bde9e /tools/run-with-tmp-session-bus.sh
parent36608068cf84eca2a0e074fe6b1c416a4a8a2b08 (diff)
* tools/dbus-launch.c (main): run the dbus-daemon in the builddir
if tests are enabled and the DBUS_USE_TEST_BINARY env variable is set * tools/run-with-tmp-session-bus.sh: set DBUS_USE_TEST_BINARY before we run dbus-launch * configure.in: define TEST_BUS_BINARY to be the full path to dbus-daemon in the build root
Diffstat (limited to 'tools/run-with-tmp-session-bus.sh')
-rwxr-xr-xtools/run-with-tmp-session-bus.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/run-with-tmp-session-bus.sh b/tools/run-with-tmp-session-bus.sh
index b72a56a5..3ef3b39e 100755
--- a/tools/run-with-tmp-session-bus.sh
+++ b/tools/run-with-tmp-session-bus.sh
@@ -47,6 +47,7 @@ unset DBUS_SESSION_BUS_PID
echo "Running $DBUS_TOP_BUILDDIR/tools/dbus-launch --sh-syntax --config-file=$CONFIG_FILE" >&2
+export DBUS_USE_TEST_BINARY=1
eval `$DBUS_TOP_BUILDDIR/tools/dbus-launch --sh-syntax --config-file=$CONFIG_FILE`
if test -z "$DBUS_SESSION_BUS_PID" ; then