aboutsummaryrefslogtreecommitdiff
path: root/debian/tests/start-service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/start-service')
-rw-r--r--debian/tests/start-service12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/tests/start-service b/debian/tests/start-service
new file mode 100644
index 0000000..1aeef94
--- /dev/null
+++ b/debian/tests/start-service
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+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
+