summaryrefslogtreecommitdiff
path: root/tests/scripts/xdmcp-login.script
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2011-07-14 11:08:49 +1000
committerRobert Ancell <robert.ancell@canonical.com>2011-07-14 11:08:49 +1000
commit1d81eb0933252e496d285e5154de2d4a17e7d8f3 (patch)
tree80ecf582e80ed96292804f41eef0b54278264cf5 /tests/scripts/xdmcp-login.script
parentc0c2df7327159736cf23f375d6fd94c0baf94ac7 (diff)
downloadlightdm-1d81eb0933252e496d285e5154de2d4a17e7d8f3.tar.gz
Add comments to regression tests
Diffstat (limited to 'tests/scripts/xdmcp-login.script')
-rw-r--r--tests/scripts/xdmcp-login.script10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/scripts/xdmcp-login.script b/tests/scripts/xdmcp-login.script
index 2baba6ab..c127116e 100644
--- a/tests/scripts/xdmcp-login.script
+++ b/tests/scripts/xdmcp-login.script
@@ -1,7 +1,11 @@
+#
+# Check that LightDM correctly negotiates the XDMCP and starts the session to the remote server.
+#
+
RUNNER DAEMON-START
*WAIT 1
-# Start an X server to log in with XDMCP
+# Start a remote X server to log in with XDMCP
*START-XSERVER ARGS=":98 -query localhost -port 9999"
XSERVER :98 START
XSERVER :98 SEND-QUERY
@@ -13,14 +17,14 @@ XSERVER :98 GOT-ACCEPT SESSION-ID=[0-9]* AUTHENTICATION-NAME="" AUTHORIZATION-NA
XSERVER :98 SEND-MANAGE SESSION-ID=[0-9]* DISPLAY-NUMBER=98 DISPLAY-CLASS="DISPLAY CLASS"
XSERVER :98 ACCEPT-CONNECT
-# A greeter should start and connect to this X server
+# Greeter starts and connects to remote X server
GREETER START
XSERVER :98 ACCEPT-CONNECT
GREETER CONNECT-XSERVER 127.0.0.1:98
GREETER CONNECT-TO-DAEMON
GREETER CONNECTED-TO-DAEMON
-# User logs in
+# Log in
GREETER LOGIN USERNAME=alice
GREETER SHOW-PROMPT TEXT="Password:"
GREETER RESPOND TEXT="password"