summaryrefslogtreecommitdiff
path: root/tests/scripts/group-membership.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts/group-membership.conf')
-rw-r--r--tests/scripts/group-membership.conf34
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/scripts/group-membership.conf b/tests/scripts/group-membership.conf
new file mode 100644
index 00000000..70f5afd3
--- /dev/null
+++ b/tests/scripts/group-membership.conf
@@ -0,0 +1,34 @@
+#
+# Check group membership is correctly set up
+#
+
+[LightDM]
+minimum-display-number=50
+
+[SeatDefaults]
+autologin-user=group-member
+
+#?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=group-member
+#?XSERVER :50 ACCEPT-CONNECT
+#?SESSION :50 CONNECT-XSERVER
+
+# Check we belong to the group for our user and the special group set by PAM
+#?*SESSION :50 LIST-GROUPS
+#?SESSION :50 LIST-GROUPS GROUPS=group-member,test-group
+
+# 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