2 # Check can use greeter user API
6 accounts-service-user-filter=have-password1 have-password2
15 #?XSERVER-0 START VT=7 SEAT=seat0
17 # Daemon connects when X server is ready
18 #?*XSERVER-0 INDICATE-READY
19 #?XSERVER-0 INDICATE-READY
20 #?XSERVER-0 ACCEPT-CONNECT
23 #?GREETER-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_SESSION_CLASS=greeter
24 #?XSERVER-0 ACCEPT-CONNECT
25 #?GREETER-X-0 CONNECT-XSERVER
26 #?GREETER-X-0 CONNECT-TO-DAEMON
27 #?GREETER-X-0 CONNECTED-TO-DAEMON
29 # Check user list is as expected
30 #?*GREETER-X-0 LOG-USER-LIST-LENGTH
31 #?GREETER-X-0 LOG-USER-LIST-LENGTH N=2
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
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
47 # Add a system user (ignored)
48 #?*ADD-USER USERNAME=lightdm
49 #?RUNNER ADD-USER USERNAME=lightdm
52 #?*DELETE-USER USERNAME=have-password3
53 #?RUNNER DELETE-USER USERNAME=have-password3
54 #?GREETER-X-0 USER-REMOVED USERNAME=have-password3
55 #?*GREETER-X-0 LOG-USER-LIST-LENGTH
56 #?GREETER-X-0 LOG-USER-LIST-LENGTH N=2
60 #?GREETER-X-0 TERMINATE SIGNAL=15
61 #?XSERVER-0 TERMINATE SIGNAL=15
62 #?RUNNER DAEMON-EXIT STATUS=0