]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - tests/scripts/users.conf
Convert all test programs to use key value pairs for requests.
[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 #?*START-DAEMON
12 #?RUNNER DAEMON-START
13
14 # X server starts
15 #?XSERVER-0 START VT=7 SEAT=seat0
16
17 # Daemon connects when X server is ready
18 #?*XSERVER-0 INDICATE-READY
19 #?XSERVER-0 INDICATE-READY
20 #?XSERVER-0 ACCEPT-CONNECT
21
22 # Greeter starts
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
28
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
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 # Add a system user (ignored)
48 #?*ADD-USER USERNAME=lightdm
49 #?RUNNER ADD-USER USERNAME=lightdm
50
51 # Remove a user
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
57
58 # Cleanup
59 #?*STOP-DAEMON
60 #?GREETER-X-0 TERMINATE SIGNAL=15
61 #?XSERVER-0 TERMINATE SIGNAL=15
62 #?RUNNER DAEMON-EXIT STATUS=0