]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - tests/scripts/login-multi-info-prompt.conf
Override logind's or consolekit's decision to automatically change active session...
[sojka/lightdm.git] / tests / scripts / login-multi-info-prompt.conf
1 #
2 # Check multiple PAM informational messages on login are passed to a greeter
3 #
4
5 #?*START-DAEMON
6 #?RUNNER DAEMON-START
7
8 # X server starts
9 #?XSERVER-0 START VT=7 SEAT=seat0
10
11 # Daemon connects when X server is ready
12 #?*XSERVER-0 INDICATE-READY
13 #?XSERVER-0 INDICATE-READY
14 #?XSERVER-0 ACCEPT-CONNECT
15
16 # Greeter starts
17 #?GREETER-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_SESSION_CLASS=greeter
18 #?LOGIN1 ACTIVATE-SESSION SESSION=c0
19 #?XSERVER-0 ACCEPT-CONNECT
20 #?GREETER-X-0 CONNECT-XSERVER
21 #?GREETER-X-0 CONNECT-TO-DAEMON
22 #?GREETER-X-0 CONNECTED-TO-DAEMON
23
24 # Log into account and see an informational prompt
25 #?*GREETER-X-0 AUTHENTICATE USERNAME=multi-info-prompt
26 #?GREETER-X-0 SHOW-MESSAGE TEXT="Welcome to LightDM"
27 #?GREETER-X-0 SHOW-MESSAGE TEXT="This is an error"
28 #?GREETER-X-0 SHOW-MESSAGE TEXT="You should have seen three messages"
29 #?GREETER-X-0 SHOW-PROMPT TEXT="Password:"
30
31 # Respond with password and check response is correctly handled
32 #?*GREETER-X-0 RESPOND TEXT="password"
33 #?GREETER-X-0 AUTHENTICATION-COMPLETE USERNAME=multi-info-prompt AUTHENTICATED=TRUE
34
35 # Cleanup
36 #?*STOP-DAEMON
37 #?GREETER-X-0 TERMINATE SIGNAL=15
38 #?XSERVER-0 TERMINATE SIGNAL=15
39 #?RUNNER DAEMON-EXIT STATUS=0