summaryrefslogtreecommitdiff
path: root/tests/scripts/language.conf
blob: 19e776aa2ce54322557b192fd40dc780675f8e5d (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
#
# Check returns correct language for a user
#

#?*START-DAEMON
#?RUNNER DAEMON-START

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

# 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 XDG_SEAT=seat0 XDG_VTNR=7 XDG_SESSION_CLASS=greeter
#?LOGIN1 ACTIVATE-SESSION SESSION=c0
#?XSERVER-0 ACCEPT-CONNECT
#?GREETER-X-0 CONNECT-XSERVER
#?GREETER-X-0 CONNECT-TO-DAEMON
#?GREETER-X-0 CONNECTED-TO-DAEMON

# Correct language is found
#?*GREETER-X-0 LOG-USER USERNAME=have-language FIELDS=LANGUAGE
#?GREETER-X-0 LOG-USER USERNAME=have-language LANGUAGE=en_AU

# Watch a user for properties changes
#?*GREETER-X-0 WATCH-USER USERNAME=prop-user
#?GREETER-X-0 WATCH-USER USERNAME=prop-user
#?*GREETER-X-0 LOG-USER USERNAME=prop-user FIELDS=LANGUAGE
#?GREETER-X-0 LOG-USER USERNAME=prop-user LANGUAGE=

# Change language
#?*UPDATE-USER USERNAME=prop-user LANGUAGE=klingon
#?RUNNER UPDATE-USER USERNAME=prop-user LANGUAGE=klingon
#?GREETER-X-0 USER-CHANGED USERNAME=prop-user
#?*GREETER-X-0 LOG-USER USERNAME=prop-user FIELDS=LANGUAGE
#?GREETER-X-0 LOG-USER USERNAME=prop-user LANGUAGE=klingon

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