blob: bf3dc97bdeff82558645230fe9a321c30a86b0e7 (
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
|
#
# Check session stdout is not written anywhere
#
[SeatDefaults]
autologin-user=have-password1
#?RUNNER DAEMON-START
# X server starts
#?XSERVER-0 START
#?XSERVER-0 INDICATE-READY
# LightDM connects to X server
#?XSERVER-0 ACCEPT-CONNECT
# Session starts
#?SESSION-X-0 START USER=have-password1
#?XSERVER-0 ACCEPT-CONNECT
#?SESSION-X-0 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-X-0 WRITE-STDOUT TEXT=YOU-SHOULD-NOT-SEE-THIS
#?*SESSION-X-0 READ FILE=.xsession-errors
#?SESSION-X-0 READ FILE=.xsession-errors TEXT=
# Cleanup
#?*STOP-DAEMON
#?SESSION-X-0 TERMINATE SIGNAL=15
#?XSERVER-0 TERMINATE SIGNAL=15
#?RUNNER DAEMON-EXIT STATUS=0
|