diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2012-01-23 17:51:12 +1100 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2012-01-23 17:51:12 +1100 |
commit | 0eb30ec7e776bf6caffb258f235c978ce2b6464c (patch) | |
tree | fad29c9f7115c1670957ad0daaeec065d28d11c6 /tests/scripts/language.conf | |
parent | 17fb1827bc4fdbd510b93a4f2abe1b0c4d3970c4 (diff) | |
download | lightdm-0eb30ec7e776bf6caffb258f235c978ce2b6464c.tar.gz |
Add regression tests for getting the user language and layout
Diffstat (limited to 'tests/scripts/language.conf')
-rw-r--r-- | tests/scripts/language.conf | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/scripts/language.conf b/tests/scripts/language.conf new file mode 100644 index 00000000..9a2c3ede --- /dev/null +++ b/tests/scripts/language.conf @@ -0,0 +1,35 @@ +# +# Check returns correct language for a user +# + +[LightDM] +minimum-display-number=50 + +[test-greeter-config] +log-language=bob + +#?RUNNER DAEMON-START + +# X server starts +#?XSERVER :50 START +#?XSERVER :50 INDICATE-READY + +# LightDM connects to X server +#?XSERVER :50 ACCEPT-CONNECT + +# Greeter starts +#?GREETER START +#?XSERVER :50 ACCEPT-CONNECT +#?GREETER CONNECT-XSERVER :50 +#?GREETER CONNECT-TO-DAEMON +#?GREETER CONNECTED-TO-DAEMON + +# Correct layout is found +#?GREETER GET-LANGUAGE USERNAME=bob LANGUAGE=en_AU + +# Cleanup +#?*STOP-DAEMON +# Don't know what order they will terminate +#?(GREETER TERMINATE SIGNAL=15|XSERVER :50 TERMINATE SIGNAL=15) +#?(GREETER TERMINATE SIGNAL=15|XSERVER :50 TERMINATE SIGNAL=15) +#?RUNNER DAEMON-EXIT STATUS=0 |