summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2011-09-16 15:13:12 +1000
committerRobert Ancell <robert.ancell@canonical.com>2011-09-16 15:13:12 +1000
commita57c75c1b679d2888f9512524a4d71159410cdb8 (patch)
tree572eff1c629238f6ab7658d71deb803130c9c1e9 /tests
parent2ff224c33b181f68053ea6eab13677c889b6f4eb (diff)
downloadlightdm-a57c75c1b679d2888f9512524a4d71159410cdb8.tar.gz
Add missing script
Diffstat (limited to 'tests')
-rw-r--r--tests/scripts/script-fail-display-setup.conf23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/scripts/script-fail-display-setup.conf b/tests/scripts/script-fail-display-setup.conf
new file mode 100644
index 00000000..03151d3a
--- /dev/null
+++ b/tests/scripts/script-fail-display-setup.conf
@@ -0,0 +1,23 @@
+#
+# Check LightDM stops the display if the display setup script returns an error
+#
+
+[SeatDefaults]
+display-setup-script=false
+
+#?RUNNER DAEMON-START
+
+# One X server should start by default
+#?XSERVER :50 START
+#?XSERVER :50 INDICATE-READY
+
+# LightDM connects to X server
+#?XSERVER :50 ACCEPT-CONNECT
+
+# Setup script fails
+
+#?XSERVER :50 TERMINATE SIGNAL=15
+
+# Cleanup
+# Don't know what order they will terminate
+#?RUNNER DAEMON-EXIT STATUS=1