Commit 638247fb authored by Guido Gunther's avatar Guido Gunther

tests/smoke: Start DBUS session bus instance

This makes e.g. gcr system prompter happy but other things like
services trying to connect to g-s-d need it too.
parent e71860d4
......@@ -87,6 +87,18 @@ echo "done."
. "${WORKDIR}"/wl-info
export WAYLAND_DISPLAY
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
echo -n "No DBUS session bus found, spawning it..."
eval "$(dbus-launch --sh-syntax)"
fi
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
echo "DBUS failed to start." 2>&1
exit 1
else
echo "done."
fi
echo "weston-info output:"
weston-info
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment