]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - tests/scripts/users.conf
Synchronise X server starting.
[sojka/lightdm.git] / tests / scripts / users.conf
1 #
2 # Check can use greeter user API
3 #
4
5 [test-runner-config]
6 accounts-service-user-filter=have-password1 have-password2
7
8 [test-greeter-config]
9 log-user-changes=true
10
11 #?RUNNER DAEMON-START
12
13 # X server starts
14 #?XSERVER-0 START VT=7
15
16 # Daemon connects when X server is ready
17 #?*XSERVER-0 INDICATE-READY
18 #?XSERVER-0 INDICATE-READY
19 #?XSERVER-0 ACCEPT-CONNECT
20
21 # Greeter starts
22 #?GREETER-X-0 START
23 #?XSERVER-0 ACCEPT-CONNECT
24 #?GREETER-X-0 CONNECT-XSERVER
25 #?GREETER-X-0 CONNECT-TO-DAEMON
26 #?GREETER-X-0 CONNECTED-TO-DAEMON
27
28 # Check user list is as expected
29 #?*GREETER-X-0 LOG-USER-LIST-LENGTH
30 #?GREETER-X-0 LOG-USER-LIST-LENGTH N=2
31 #?*GREETER-X-0 LOG-USER USERNAME=have-password1
32 #?GREETER-X-0 LOG-USER USERNAME=have-password1
33 #?*GREETER-X-0 LOG-USER-LIST
34 #?GREETER-X-0 LOG-USER USERNAME=have-password1
35 #?GREETER-X-0 LOG-USER USERNAME=have-password2
36
37 # Add a user
38 #?*ADD-USER USERNAME=have-password3
39 #?RUNNER ADD-USER USERNAME=have-password3
40 #?GREETER-X-0 USER-ADDED USERNAME=have-password3
41 #?*GREETER-X-0 LOG-USER-LIST-LENGTH
42 #?GREETER-X-0 LOG-USER-LIST-LENGTH N=3
43 #?*GREETER-X-0 LOG-USER-LIST
44 #?GREETER-X-0 LOG-USER USERNAME=have-password1
45 #?GREETER-X-0 LOG-USER USERNAME=have-password2
46 #?GREETER-X-0 LOG-USER USERNAME=have-password3
47
48 # Remove a user
49 #?*DELETE-USER USERNAME=have-password3
50 #?RUNNER DELETE-USER USERNAME=have-password3
51 #?GREETER-X-0 USER-REMOVED USERNAME=have-password3
52 #?*GREETER-X-0 LOG-USER-LIST-LENGTH
53 #?GREETER-X-0 LOG-USER-LIST-LENGTH N=2
54
55 # Cleanup
56 #?*STOP-DAEMON
57 #?GREETER-X-0 TERMINATE SIGNAL=15
58 #?XSERVER-0 TERMINATE SIGNAL=15
59 #?RUNNER DAEMON-EXIT STATUS=0