test-gobject-power-no-services \
test-open-file-descriptors \
test-xdmcp-server-open-file-descriptors \
+ test-mir-autologin \
test-mir-greeter-x-session \
test-mir-greeter-mir-session \
test-mir-session-x-greeter \
scripts/login-two-factor.conf \
scripts/login-wrong-password.conf \
scripts/login-xserver-crash.conf \
+ scripts/mir-autologin.conf \
scripts/mir-greeter-x-session.conf \
scripts/mir-greeter-mir-session.conf \
scripts/mir-session-x-greeter.conf \
--- /dev/null
+#
+# Check can run automatically log into a Mir session
+#
+
+[SeatDefaults]
+autologin-user=have-password1
+user-session=mir
+
+#?RUNNER DAEMON-START
+
+# Session starts
+#?SESSION-MIR START VT=7 USER=have-password1
+
+# Cleanup
+#?*STOP-DAEMON
+#?SESSION-MIR TERMINATE SIGNAL=15
+#?RUNNER DAEMON-EXIT STATUS=0
--- /dev/null
+#
+# Check can run a Mir greeter and log into a Mir session
+#
+
+[SeatDefaults]
+user-session=mir
+
+#?RUNNER DAEMON-START
+
+# Greeter starts
+#?GREETER-MIR START VT=7
+#?XSERVER-0 ACCEPT-CONNECT
+#?GREETER-MIR CONNECT-TO-DAEMON
+#?GREETER-MIR CONNECTED-TO-DAEMON
+
+# Log into account
+#?*GREETER-MIR AUTHENTICATE USERNAME=no-password1
+#?GREETER-MIR AUTHENTICATION-COMPLETE USERNAME=no-password1 AUTHENTICATED=TRUE
+#?*GREETER-MIR START-SESSION
+
+# Session starts
+#?SESSION-MIR START VT=8 USER=have-password1
+
+# Greeter quits once session ready
+#?GREETER-MIR TERMINATE SIGNAL=15
+
+# Cleanup
+#?*STOP-DAEMON
+#?SESSION-MIR TERMINATE SIGNAL=15
+#?RUNNER DAEMON-EXIT STATUS=0
# Log into account
#?*GREETER-MIR AUTHENTICATE USERNAME=no-password1
#?GREETER-MIR AUTHENTICATION-COMPLETE USERNAME=no-password1 AUTHENTICATED=TRUE
-#?*GREETER-MIR START-SESSION SESSION=mir
+#?*GREETER-MIR START-SESSION
#?GREETER-MIR TERMINATE SIGNAL=15
# X server starts for session
#
[SeatDefaults]
-user-session=default
+user-session=mir
#?RUNNER DAEMON-START
# Log into account
#?*GREETER-X-0 AUTHENTICATE USERNAME=no-password1
#?GREETER-X-0 AUTHENTICATION-COMPLETE USERNAME=no-password1 AUTHENTICATED=TRUE
-#?*GREETER-X-0 START-SESSION SESSION=mir
+#?*GREETER-X-0 START-SESSION
# Session starts
#?SESSION-MIR START VT=8 USER=have-password1
--- /dev/null
+#!/bin/sh
+./src/dbus-env ./src/test-runner mir-autologin test-mir-greeter