summaryrefslogtreecommitdiff
path: root/tests/scripts/no-language.conf
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2012-01-23 17:51:12 +1100
committerRobert Ancell <robert.ancell@canonical.com>2012-01-23 17:51:12 +1100
commit0eb30ec7e776bf6caffb258f235c978ce2b6464c (patch)
treefad29c9f7115c1670957ad0daaeec065d28d11c6 /tests/scripts/no-language.conf
parent17fb1827bc4fdbd510b93a4f2abe1b0c4d3970c4 (diff)
downloadlightdm-git-0eb30ec7e776bf6caffb258f235c978ce2b6464c.tar.gz
Add regression tests for getting the user language and layout
Diffstat (limited to 'tests/scripts/no-language.conf')
-rw-r--r--tests/scripts/no-language.conf35
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/scripts/no-language.conf b/tests/scripts/no-language.conf
new file mode 100644
index 00000000..98fc93c7
--- /dev/null
+++ b/tests/scripts/no-language.conf
@@ -0,0 +1,35 @@
+#
+# Check handles user that has no language set
+#
+
+[LightDM]
+minimum-display-number=50
+
+[test-greeter-config]
+log-language=alice
+
+#?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=alice LANGUAGE=
+
+# 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