summaryrefslogtreecommitdiff
path: root/tests/scripts/session-stdout.conf
blob: 59b95e890a38c23267493a573e5f7bf663d87eb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#
# Check session stdout is not written anywhere
#

[LightDM]
minimum-display-number=50

[SeatDefaults]
autologin-user=have-password1

#?RUNNER DAEMON-START

# X server starts
#?XSERVER :50 START
#?XSERVER :50 INDICATE-READY

# LightDM connects to X server
#?XSERVER :50 ACCEPT-CONNECT

# Session starts
#?SESSION :50 START USER=have-password1
#?XSERVER :50 ACCEPT-CONNECT
#?SESSION :50 CONNECT-XSERVER

# Write to stdout and check it doesn't end up in the session error log (you should also manually check when running the test if it is printed)
#?*SESSION :50 WRITE-STDOUT TEXT=YOU-SHOULD-NOT-SEE-THIS
#?*SESSION :50 READ FILE=.xsession-errors
#?SESSION :50 READ FILE=.xsession-errors TEXT=

# Cleanup
#?*STOP-DAEMON
# Don't know what order they will terminate
#?(SESSION :50 TERMINATE SIGNAL=15|XSERVER :50 TERMINATE SIGNAL=15)
#?(SESSION :50 TERMINATE SIGNAL=15|XSERVER :50 TERMINATE SIGNAL=15)
#?RUNNER DAEMON-EXIT STATUS=0