]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - tests/scripts/users.conf
Merge with trunk
[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 #?XSERVER-0 INDICATE-READY
16
17 # LightDM connects to X server
18 #?XSERVER-0 ACCEPT-CONNECT
19
20 # Greeter starts
21 #?GREETER-X-0 START
22 #?XSERVER-0 ACCEPT-CONNECT
23 #?GREETER-X-0 CONNECT-XSERVER
24 #?GREETER-X-0 CONNECT-TO-DAEMON
25 #?GREETER-X-0 CONNECTED-TO-DAEMON
26
27 # Check user list is as expected
28 #?*GREETER-X-0 LOG-USER-LIST-LENGTH
29 #?GREETER-X-0 LOG-USER-LIST-LENGTH N=2
30 #?*GREETER-X-0 LOG-USER USERNAME=have-password1
31 #?GREETER-X-0 LOG-USER USERNAME=have-password1
32 #?*GREETER-X-0 LOG-USER-LIST
33 #?GREETER-X-0 LOG-USER USERNAME=have-password1
34 #?GREETER-X-0 LOG-USER USERNAME=have-password2
35
36 # Add a user
37 #?*ADD-USER USERNAME=have-password3
38 #?RUNNER ADD-USER USERNAME=have-password3
39 #?GREETER-X-0 USER-ADDED USERNAME=have-password3
40 #?*GREETER-X-0 LOG-USER-LIST-LENGTH
41 #?GREETER-X-0 LOG-USER-LIST-LENGTH N=3
42 #?*GREETER-X-0 LOG-USER-LIST
43 #?GREETER-X-0 LOG-USER USERNAME=have-password1
44 #?GREETER-X-0 LOG-USER USERNAME=have-password2
45 #?GREETER-X-0 LOG-USER USERNAME=have-password3
46
47 # Remove a user
48 #?*DELETE-USER USERNAME=have-password3
49 #?RUNNER DELETE-USER USERNAME=have-password3
50 #?GREETER-X-0 USER-REMOVED USERNAME=have-password3
51 #?*GREETER-X-0 LOG-USER-LIST-LENGTH
52 #?GREETER-X-0 LOG-USER-LIST-LENGTH N=2
53
54 # Cleanup
55 #?*STOP-DAEMON
56 #?GREETER-X-0 TERMINATE SIGNAL=15
57 #?XSERVER-0 TERMINATE SIGNAL=15
58 #?RUNNER DAEMON-EXIT STATUS=0