summaryrefslogtreecommitdiff
path: root/tests/scripts/login-gobject.script
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts/login-gobject.script')
-rw-r--r--tests/scripts/login-gobject.script14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/scripts/login-gobject.script b/tests/scripts/login-gobject.script
index ef6d9f0b..53f23c88 100644
--- a/tests/scripts/login-gobject.script
+++ b/tests/scripts/login-gobject.script
@@ -1,20 +1,34 @@
+#
+# Check can login
+#
+
RUNNER DAEMON-START
+
+# X server starts
XSERVER :.* START
XSERVER :.* INDICATE-READY
XSERVER :.* ACCEPT-CONNECT
+
+# Greeter starts
GREETER START
XSERVER :.* ACCEPT-CONNECT
GREETER CONNECT-XSERVER :.*
GREETER CONNECT-TO-DAEMON
GREETER CONNECTED-TO-DAEMON
+
+# Login
GREETER LOGIN USERNAME=alice
GREETER SHOW-PROMPT TEXT="Password:"
GREETER RESPOND TEXT="password"
GREETER AUTHENTICATION-COMPLETE AUTHENTICATED=TRUE
GREETER QUIT
+
+# Session starts
SESSION START USER=alice
XSERVER :.* ACCEPT-CONNECT
SESSION CONNECT-XSERVER
+
+# Cleanup
*STOP-DAEMON
# Don't know what order they will terminate
(SESSION TERMINATE SIGNAL=15|XSERVER :.* TERMINATE SIGNAL=15)