[gvfs] test: Fix test suit error due to dbus dying
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] test: Fix test suit error due to dbus dying
- Date: Fri, 12 Oct 2012 09:45:15 +0000 (UTC)
commit caedd86fcb1a3d0c499fdf8b091b94f1764f8d61
Author: Alexander Larsson <alexl redhat com>
Date: Fri Oct 12 11:30:36 2012 +0200
test: Fix test suit error due to dbus dying
We need to pass in the dbus config file by absolute name, or
it will exit when it re-reads the config file on inotify
changes.
test/run-in-tree.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/test/run-in-tree.sh b/test/run-in-tree.sh
index 1b00946..da37929 100755
--- a/test/run-in-tree.sh
+++ b/test/run-in-tree.sh
@@ -14,7 +14,7 @@ export GIO_EXTRA_MODULES=`pwd`/../client/.libs:`pwd`/../monitor/proxy/.libs
# Start a custom session dbus
PIDFILE=`mktemp`
-export DBUS_SESSION_BUS_ADDRESS=`dbus-daemon --config-file=session.conf --fork --print-address=1 --print-pid=3 3>${PIDFILE}`
+export DBUS_SESSION_BUS_ADDRESS=`dbus-daemon --config-file=$(pwd)/session.conf --fork --print-address=1 --print-pid=3 3>${PIDFILE}`
DBUS_SESSION_BUS_PID=`cat $PIDFILE`
rm $PIDFILE
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]