summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2012-10-12 11:30:36 +0200
committerAlexander Larsson <alexl@redhat.com>2012-10-12 11:30:36 +0200
commitcaedd86fcb1a3d0c499fdf8b091b94f1764f8d61 (patch)
tree113f3d1131788ca7da916278bf19550bea0f7b60 /test
parentd013022a84b16c10628902d3f711eea98982269c (diff)
downloadgvfs-caedd86fcb1a3d0c499fdf8b091b94f1764f8d61.tar.gz
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.
Diffstat (limited to 'test')
-rwxr-xr-xtest/run-in-tree.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run-in-tree.sh b/test/run-in-tree.sh
index 1b009469..da37929f 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