~unity8-desktop-session-team/indicator-session/indicator-session-using-upstart

« back to all changes in this revision

Viewing changes to debian/tests/start-service

  • Committer: Tarmac
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2013-01-16 19:58:48 UTC
  • mfrom: (380.1.5 indicator-session)
  • Revision ID: tarmac-20130116195848-swqgd3htdsf8jz87
Fix test -- disable TestCanStartService for the build; instead make it available via "make localcheck"; and move it to be run in an autopkgtest.

Approved by PS Jenkins bot, Didier Roche.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -x
 
4
set -e
 
5
 
 
6
if [ ! -d /var/run/dbus ]; then
 
7
        mkdir /var/run/dbus
 
8
fi
 
9
 
 
10
dbus-daemon --fork --print-address=4 --config-file /etc/dbus-1/system.conf --print-pid=5 4>/tmp/system-bus-addr 5>/tmp/system-bus-pid
 
11
dbus-daemon --fork --session --print-address=4 --config-file 4>/tmp/session-bus-addr
 
12
 
 
13
DBUS_SYSTEM_BUS_ADDRESS=`cat /tmp/system-bus-addr`
 
14
DBUS_SESSION_BUS_ADDRESS=`cat /tmp/session-bus-addr`
 
15
 
 
16
/usr/lib/policykit-1/polkitd 2>&1 &
 
17
/usr/sbin/console-kit-daemon &
 
18
/usr/lib/accountsservice/accounts-daemon &
 
19
 
 
20
make -C tests integrationcheck
 
21