]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - tests/scripts/users.conf
Don't pass system user accounts from AccountsService to greeters. Fixes: https:/...
[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 XDG_SEAT=seat0 XDG_VTNR=7 XDG_SESSION_CLASS=greeter
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-LIST
32 #?GREETER-X-0 LOG-USER USERNAME=have-password1
33 #?GREETER-X-0 LOG-USER USERNAME=have-password2
34
35 # Add a user
36 #?*ADD-USER USERNAME=have-password3
37 #?RUNNER ADD-USER USERNAME=have-password3
38 #?GREETER-X-0 USER-ADDED USERNAME=have-password3
39 #?*GREETER-X-0 LOG-USER-LIST-LENGTH
40 #?GREETER-X-0 LOG-USER-LIST-LENGTH N=3
41 #?*GREETER-X-0 LOG-USER-LIST
42 #?GREETER-X-0 LOG-USER USERNAME=have-password1
43 #?GREETER-X-0 LOG-USER USERNAME=have-password2
44 #?GREETER-X-0 LOG-USER USERNAME=have-password3
45
46 # Add a system user (ignored)
47 #?*ADD-USER USERNAME=lightdm
48 #?RUNNER ADD-USER USERNAME=lightdm
49
50 # Remove a user
51 #?*DELETE-USER USERNAME=have-password3
52 #?RUNNER DELETE-USER USERNAME=have-password3
53 #?GREETER-X-0 USER-REMOVED USERNAME=have-password3
54 #?*GREETER-X-0 LOG-USER-LIST-LENGTH
55 #?GREETER-X-0 LOG-USER-LIST-LENGTH N=2
56
57 # Cleanup
58 #?*STOP-DAEMON
59 #?GREETER-X-0 TERMINATE SIGNAL=15
60 #?XSERVER-0 TERMINATE SIGNAL=15
61 #?RUNNER DAEMON-EXIT STATUS=0