summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJesús González <jgonzalez@gdr-sistemas.com>2015-01-05 21:29:53 +0100
committerJesús González <jgonzalez@gdr-sistemas.com>2015-01-05 21:29:53 +0100
commita8ecb0045b165026df4e93e6d5b008584c3d6cac (patch)
tree732c9b7200c6b1f1c46a298e634e5f832535ba40 /tests
parent7c0ffad5dc2ec05c8dfefb2ec1633f71e0ec26d3 (diff)
downloadlightdm-a8ecb0045b165026df4e93e6d5b008584c3d6cac.tar.gz
Store in the seat the replacement greeter that shall be started when the replaced one stops
Diffstat (limited to 'tests')
-rw-r--r--tests/scripts/lock-seat-twice.conf13
-rw-r--r--tests/scripts/lock-session-twice.conf14
2 files changed, 23 insertions, 4 deletions
diff --git a/tests/scripts/lock-seat-twice.conf b/tests/scripts/lock-seat-twice.conf
index 19128acd..c8d6dc8e 100644
--- a/tests/scripts/lock-seat-twice.conf
+++ b/tests/scripts/lock-seat-twice.conf
@@ -54,8 +54,17 @@ user-session=default
#?*SESSION-X-0 LOCK-SEAT
#?SESSION-X-0 LOCK-SEAT
-# Nothing should happen...
-#?*WAIT
+# Old greeter is stopped
+#?GREETER-X-1 TERMINATE SIGNAL=15
+
+# A new greeter is started and activated on the same X server
+#?LOGIN1 ACTIVATE-SESSION SESSION=c2
+#?GREETER-X-1 START XDG_SEAT=seat0 XDG_VTNR=8 XDG_SESSION_CLASS=greeter
+#?XSERVER-1 ACCEPT-CONNECT
+#?GREETER-X-1 CONNECT-XSERVER
+#?GREETER-X-1 CONNECT-TO-DAEMON
+#?GREETER-X-1 CONNECTED-TO-DAEMON
+#?GREETER-X-1 LOCK-HINT
# Cleanup
#?*STOP-DAEMON
diff --git a/tests/scripts/lock-session-twice.conf b/tests/scripts/lock-session-twice.conf
index 6a8bda7e..e7f20c3d 100644
--- a/tests/scripts/lock-session-twice.conf
+++ b/tests/scripts/lock-session-twice.conf
@@ -55,8 +55,18 @@ user-session=default
#?*SESSION-X-0 LOCK-SESSION
#?SESSION-X-0 LOCK-SESSION
-# Nothing should happen
-#?*WAIT
+# Old greeter is stopped
+#?GREETER-X-1 TERMINATE SIGNAL=15
+#?LOGIN1 ACTIVATE-SESSION SESSION=c2
+
+# A new greeter is started and activated on the same X server
+#?GREETER-X-1 START XDG_SEAT=seat0 XDG_VTNR=8 XDG_SESSION_CLASS=greeter
+#?XSERVER-1 ACCEPT-CONNECT
+#?GREETER-X-1 CONNECT-XSERVER
+#?GREETER-X-1 CONNECT-TO-DAEMON
+#?GREETER-X-1 CONNECTED-TO-DAEMON
+#?GREETER-X-1 SELECT-USER-HINT USERNAME=have-password1
+#?GREETER-X-1 LOCK-HINT
# Cleanup
#?*STOP-DAEMON