summaryrefslogtreecommitdiff
path: root/tests/scripts/system-xauthority.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts/system-xauthority.conf')
-rw-r--r--tests/scripts/system-xauthority.conf35
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/scripts/system-xauthority.conf b/tests/scripts/system-xauthority.conf
new file mode 100644
index 00000000..17f4de54
--- /dev/null
+++ b/tests/scripts/system-xauthority.conf
@@ -0,0 +1,35 @@
+#
+# Check X authority written into system directory
+#
+
+[LightDM]
+minimum-display-number=50
+user-authority-in-system-dir=true
+
+[SeatDefaults]
+autologin-user=have-password1
+
+#?RUNNER DAEMON-START
+
+# X server starts
+#?XSERVER :50 START
+#?XSERVER :50 INDICATE-READY
+
+# LightDM connects to X server
+#?XSERVER :50 ACCEPT-CONNECT
+
+# Session starts
+#?SESSION :50 START USER=have-password1
+#?XSERVER :50 ACCEPT-CONNECT
+#?SESSION :50 CONNECT-XSERVER
+
+# Check where the X authority is
+#?*SESSION :50 READ-ENV NAME=XAUTHORITY
+#?SESSION :50 READ-ENV NAME=XAUTHORITY VALUE=.*/var/run/lightdm/have-password1/xauthority
+
+# Cleanup
+#?*STOP-DAEMON
+# Don't know what order they will terminate
+#?(SESSION :50 TERMINATE SIGNAL=15|XSERVER :50 TERMINATE SIGNAL=15)
+#?(SESSION :50 TERMINATE SIGNAL=15|XSERVER :50 TERMINATE SIGNAL=15)
+#?RUNNER DAEMON-EXIT STATUS=0