Access to DBus was changed.
Now to connect to specific interface on DBus
a config with the names of interfaces is needed.
Change-Id: I8c0eac297da074cb198ad86792fc49c0b149921d
esac ;;
'-t'|'--run-tets')
+ sdb -d shell mount -o remount,rw /
+ sdb push "tests/dbustests.conf" "/etc/dbus-1/system.d/"
+ sdb -d shell killall -HUP dbus-daemon
RUN_TESTS=1
shift
;;
--- /dev/null
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+ <policy user="root">
+ <allow own="itest.itest"/>
+ <allow send_interface="itest.itest"/>
+ <allow send_interface="itest.itest2"/>
+ <allow send_interface="sitest.sitest"/>
+ <allow send_interface="org.freedesktop.DBus.Properties"/>
+ </policy>
+ <policy context="default">
+ <deny own="itest.itest"/>
+ <deny send_destination="itest.itest"/>
+ </policy>
+</busconfig>