summaryrefslogtreecommitdiff
path: root/tests/scripts/users.conf
blob: d50f1dc36aa2d9469883312c0dbcb1f3c6425e39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#
# Check can use greeter user API
#

[test-runner-config]
accounts-service-user-filter=have-password1 have-password2

[test-greeter-config]
log-user-changes=true

#?RUNNER DAEMON-START

# X server starts
#?XSERVER-0 START VT=7

# Daemon connects when X server is ready
#?*XSERVER-0 INDICATE-READY
#?XSERVER-0 INDICATE-READY
#?XSERVER-0 ACCEPT-CONNECT

# Greeter starts
#?GREETER-X-0 START
#?XSERVER-0 ACCEPT-CONNECT
#?GREETER-X-0 CONNECT-XSERVER
#?GREETER-X-0 CONNECT-TO-DAEMON
#?GREETER-X-0 CONNECTED-TO-DAEMON

# Check user list is as expected
#?*GREETER-X-0 LOG-USER-LIST-LENGTH
#?GREETER-X-0 LOG-USER-LIST-LENGTH N=2
#?*GREETER-X-0 LOG-USER USERNAME=have-password1
#?GREETER-X-0 LOG-USER USERNAME=have-password1
#?*GREETER-X-0 LOG-USER-LIST
#?GREETER-X-0 LOG-USER USERNAME=have-password1
#?GREETER-X-0 LOG-USER USERNAME=have-password2

# Add a user
#?*ADD-USER USERNAME=have-password3
#?RUNNER ADD-USER USERNAME=have-password3
#?GREETER-X-0 USER-ADDED USERNAME=have-password3
#?*GREETER-X-0 LOG-USER-LIST-LENGTH
#?GREETER-X-0 LOG-USER-LIST-LENGTH N=3
#?*GREETER-X-0 LOG-USER-LIST
#?GREETER-X-0 LOG-USER USERNAME=have-password1
#?GREETER-X-0 LOG-USER USERNAME=have-password2
#?GREETER-X-0 LOG-USER USERNAME=have-password3

# Remove a user
#?*DELETE-USER USERNAME=have-password3
#?RUNNER DELETE-USER USERNAME=have-password3
#?GREETER-X-0 USER-REMOVED USERNAME=have-password3
#?*GREETER-X-0 LOG-USER-LIST-LENGTH
#?GREETER-X-0 LOG-USER-LIST-LENGTH N=2

# Cleanup
#?*STOP-DAEMON
#?GREETER-X-0 TERMINATE SIGNAL=15
#?XSERVER-0 TERMINATE SIGNAL=15
#?RUNNER DAEMON-EXIT STATUS=0