summaryrefslogtreecommitdiff
path: root/tests/scripts/xauthority.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts/xauthority.conf')
-rw-r--r--tests/scripts/xauthority.conf34
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/scripts/xauthority.conf b/tests/scripts/xauthority.conf
new file mode 100644
index 00000000..f07890bb
--- /dev/null
+++ b/tests/scripts/xauthority.conf
@@ -0,0 +1,34 @@
+#
+# Check X authority written into home directory
+#
+
+[LightDM]
+minimum-display-number=50
+
+[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=.*/home/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