]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - tests/scripts/shared-data-dirs.conf
Don't create all shared user dirs on startup; rather create them on demand as the...
[sojka/lightdm.git] / tests / scripts / shared-data-dirs.conf
1 #
2 # Make sure we manage shared user data directories on startup and over time
3 #
4
5 [test-runner-config]
6 # One normal, one with bad permissions, one to delete
7 shared-data-dirs=1000:1000:100:0770 1001:1000:1000:0777 99999:1004:100:0770
8
9 #?RUNNER DAEMON-START
10
11 # X server starts
12 #?XSERVER-0 START VT=7 SEAT=seat0
13
14 # Startup creation/deletion
15 #?*WAIT
16 #?*LIST-SHARED-DATA-DIRS
17 #?RUNNER LIST-SHARED-DATA-DIRS DIRS=100:100:100:0770,1000:1000:100:0770,1001:1000:1000:0777
18
19 # Daemon connects when X server is ready
20 #?*XSERVER-0 INDICATE-READY
21 #?XSERVER-0 INDICATE-READY
22 #?XSERVER-0 ACCEPT-CONNECT
23
24 # Greeter starts
25 #?GREETER-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_SESSION_CLASS=greeter
26 #?XSERVER-0 ACCEPT-CONNECT
27 #?GREETER-X-0 CONNECT-XSERVER
28 #?GREETER-X-0 CONNECT-TO-DAEMON
29 #?GREETER-X-0 CONNECTED-TO-DAEMON
30
31 # Log into account without a password
32 #?*GREETER-X-0 AUTHENTICATE USERNAME=no-password1
33 #?GREETER-X-0 AUTHENTICATION-COMPLETE USERNAME=no-password1 AUTHENTICATED=TRUE
34 #?*GREETER-X-0 START-SESSION
35 #?GREETER-X-0 TERMINATE SIGNAL=15
36
37 # Session starts
38 #?SESSION-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 DESKTOP_SESSION=default USER=no-password1
39 #?XSERVER-0 ACCEPT-CONNECT
40 #?SESSION-X-0 CONNECT-XSERVER
41
42 # Make sure we created the directory as we started session
43 #?*WAIT
44 #?*LIST-SHARED-DATA-DIRS
45 #?RUNNER LIST-SHARED-DATA-DIRS DIRS=100:100:100:0770,1000:1000:100:0770,1001:1000:1000:0777,1005:1005:100:0770
46
47 # Delete one user
48 #?*DELETE-USER USERNAME=have-password1
49 #?RUNNER DELETE-USER USERNAME=have-password1
50 #?*WAIT
51 #?*LIST-SHARED-DATA-DIRS
52 #?RUNNER LIST-SHARED-DATA-DIRS DIRS=100:100:100:0770,1001:1000:1000:0777,1005:1005:100:0770
53
54 # Cleanup
55 #?*STOP-DAEMON
56 #?XSERVER-0 TERMINATE SIGNAL=15
57 #?SESSION-X-0 TERMINATE SIGNAL=15
58 #?RUNNER DAEMON-EXIT STATUS=0