diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2012-08-02 14:17:41 +0200 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2012-08-02 14:17:41 +0200 |
commit | d7fef7e48e4b39637a59551953198c00ab4137f6 (patch) | |
tree | 920cc9c706dbcbf64a5b0a7a00ed8489cb955135 /tests/scripts | |
parent | f6c926dd1ea0fe9f98430870768f7d24f342e0d6 (diff) | |
download | lightdm-d7fef7e48e4b39637a59551953198c00ab4137f6.tar.gz |
Correctly reap unused authentication sessions
Diffstat (limited to 'tests/scripts')
-rw-r--r-- | tests/scripts/change-authentication.conf | 38 | ||||
-rw-r--r-- | tests/scripts/restart-authentication.conf | 38 |
2 files changed, 76 insertions, 0 deletions
diff --git a/tests/scripts/change-authentication.conf b/tests/scripts/change-authentication.conf new file mode 100644 index 00000000..d3860a19 --- /dev/null +++ b/tests/scripts/change-authentication.conf @@ -0,0 +1,38 @@ +# +# Check can change authentication +# + +[LightDM] +minimum-display-number=50 + +#?RUNNER DAEMON-START + +# X server starts +#?XSERVER :50 START +#?XSERVER :50 INDICATE-READY + +# LightDM connects to X server +#?XSERVER :50 ACCEPT-CONNECT + +# Greeter starts +#?GREETER :50 START +#?XSERVER :50 ACCEPT-CONNECT +#?GREETER :50 CONNECT-XSERVER +#?GREETER :50 CONNECT-TO-DAEMON +#?GREETER :50 CONNECTED-TO-DAEMON + +# Start authentication +#?*GREETER :50 AUTHENTICATE USERNAME=have-password1 +#?GREETER :50 SHOW-PROMPT TEXT="Password:" + +# Change user authentication +#?*GREETER :50 AUTHENTICATE USERNAME=have-password2 +#?GREETER :50 SHOW-PROMPT TEXT="Password:" + +# Cleanup +#?*STOP-DAEMON +# Don't know what order they will terminate +#?(GREETER :50 TERMINATE SIGNAL=15|XSERVER :50 TERMINATE SIGNAL=15) +#?(GREETER :50 TERMINATE SIGNAL=15|XSERVER :50 TERMINATE SIGNAL=15) +#?RUNNER DAEMON-EXIT STATUS=0 + diff --git a/tests/scripts/restart-authentication.conf b/tests/scripts/restart-authentication.conf new file mode 100644 index 00000000..f45edc89 --- /dev/null +++ b/tests/scripts/restart-authentication.conf @@ -0,0 +1,38 @@ +# +# Check can restart authentication +# + +[LightDM] +minimum-display-number=50 + +#?RUNNER DAEMON-START + +# X server starts +#?XSERVER :50 START +#?XSERVER :50 INDICATE-READY + +# LightDM connects to X server +#?XSERVER :50 ACCEPT-CONNECT + +# Greeter starts +#?GREETER :50 START +#?XSERVER :50 ACCEPT-CONNECT +#?GREETER :50 CONNECT-XSERVER +#?GREETER :50 CONNECT-TO-DAEMON +#?GREETER :50 CONNECTED-TO-DAEMON + +# Start authentication +#?*GREETER :50 AUTHENTICATE USERNAME=have-password1 +#?GREETER :50 SHOW-PROMPT TEXT="Password:" + +# Restart authentication +#?*GREETER :50 AUTHENTICATE USERNAME=have-password1 +#?GREETER :50 SHOW-PROMPT TEXT="Password:" + +# Cleanup +#?*STOP-DAEMON +# Don't know what order they will terminate +#?(GREETER :50 TERMINATE SIGNAL=15|XSERVER :50 TERMINATE SIGNAL=15) +#?(GREETER :50 TERMINATE SIGNAL=15|XSERVER :50 TERMINATE SIGNAL=15) +#?RUNNER DAEMON-EXIT STATUS=0 + |