summaryrefslogtreecommitdiff
path: root/tests/scripts/switch-to-user-active.conf
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2013-08-25 12:40:06 +1200
committerRobert Ancell <robert.ancell@canonical.com>2013-08-25 12:40:06 +1200
commit68302f221fb8469fc0f03f3ac6f81509722dd5ce (patch)
tree68a6004f949cbfd8f14bf89938129a3e43bafe91 /tests/scripts/switch-to-user-active.conf
parentb281bf1817c229244c7221b7485397d2bd9c5c2e (diff)
downloadlightdm-68302f221fb8469fc0f03f3ac6f81509722dd5ce.tar.gz
Restructure switching tests
Diffstat (limited to 'tests/scripts/switch-to-user-active.conf')
-rw-r--r--tests/scripts/switch-to-user-active.conf36
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/scripts/switch-to-user-active.conf b/tests/scripts/switch-to-user-active.conf
new file mode 100644
index 00000000..1c3eb098
--- /dev/null
+++ b/tests/scripts/switch-to-user-active.conf
@@ -0,0 +1,36 @@
+#
+# Check that switching to a user who is the active session does nothing
+#
+
+[SeatDefaults]
+autologin-user=no-password1
+user-session=default
+
+#?RUNNER DAEMON-START
+#?*WAIT
+
+# X server starts
+#?XSERVER-0 START VT=7
+
+# Daemon connects when X server is ready
+#?*XSERVER-0 INDICATE-READY
+#?XSERVER-0 INDICATE-READY
+#?XSERVER-0 ACCEPT-CONNECT
+
+# Session starts
+#?SESSION-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 USER=no-password1
+#?XSERVER-0 ACCEPT-CONNECT
+#?SESSION-X-0 CONNECT-XSERVER
+
+# Switch to this user
+#?*SWITCH-TO-USER USERNAME=no-password1
+#?RUNNER SWITCH-TO-USER USERNAME=no-password1
+
+# Nothing happends
+#?*WAIT
+
+# Cleanup
+#?*STOP-DAEMON
+#?SESSION-X-0 TERMINATE SIGNAL=15
+#?XSERVER-0 TERMINATE SIGNAL=15
+#?RUNNER DAEMON-EXIT STATUS=0