~fboucault/lightdm/crossbuild_fixes

« back to all changes in this revision

Viewing changes to tests/scripts/session-env.conf

  • Committer: Robert Ancell
  • Date: 2013-07-19 09:44:06 UTC
  • mto: This revision was merged to the branch mainline in revision 1708.
  • Revision ID: robert.ancell@canonical.com-20130719094406-7m0e3u6dclddve2h
Add test to check  and  are set

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Check logind variables are set in session
 
3
#
 
4
 
 
5
[SeatDefaults]
 
6
autologin-user=have-password1
 
7
user-session=default
 
8
 
 
9
#?RUNNER DAEMON-START
 
10
 
 
11
# X server starts
 
12
#?XSERVER-0 START VT=7
 
13
#?XSERVER-0 INDICATE-READY
 
14
 
 
15
# LightDM connects to X server
 
16
#?XSERVER-0 ACCEPT-CONNECT
 
17
 
 
18
# Session starts
 
19
#?SESSION-X-0 START USER=have-password1
 
20
#?XSERVER-0 ACCEPT-CONNECT
 
21
#?SESSION-X-0 CONNECT-XSERVER
 
22
 
 
23
# Check environment variables
 
24
#?*SESSION-X-0 READ-ENV NAME=DESKTOP_SESSION
 
25
#?SESSION-X-0 READ-ENV NAME=DESKTOP_SESSION VALUE=default
 
26
#?*SESSION-X-0 READ-ENV NAME=GDMSESSION
 
27
#?SESSION-X-0 READ-ENV NAME=GDMSESSION VALUE=default
 
28
 
 
29
# Cleanup
 
30
#?*STOP-DAEMON
 
31
#?SESSION-X-0 TERMINATE SIGNAL=15
 
32
#?XSERVER-0 TERMINATE SIGNAL=15
 
33
#?RUNNER DAEMON-EXIT STATUS=0