aboutsummaryrefslogtreecommitdiff
path: root/debian/tests
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests')
-rw-r--r--debian/tests/control2
-rw-r--r--debian/tests/start-service11
2 files changed, 11 insertions, 2 deletions
diff --git a/debian/tests/control b/debian/tests/control
index c1ccd70..e24f71b 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,3 @@
Tests: start-service
-Depends: dbus-test-runner, indicator-session
+Depends: python3-aptdaemon.test, accountsservice, consolekit, indicator-session
Restrictions: build-needed
diff --git a/debian/tests/start-service b/debian/tests/start-service
index c1d59c2..1aeef94 100644
--- a/debian/tests/start-service
+++ b/debian/tests/start-service
@@ -1,3 +1,12 @@
#!/bin/sh
-dbus-test-runner -t tests/test-service
+dbus-daemon --fork --print-address=4 --config-file /usr/share/aptdaemon/tests/dbus.conf --print-pid=5 4>/tmp/bus-addr 5>/tmp/pid-bus
+
+DBUS_SYSTEM_BUS_ADDRESS=`cat /tmp/bus-addr`
+
+/usr/sbin/console-kit-daemon &
+
+/usr/lib/accountsservice/accounts-daemon &
+
+tests/test-service
+