mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-27 06:40:26 +01:00
Now that authorization is in SASL mechs, enable anonymous authorizations when we are testing anonymous mechs functionality Bug: http://bugs.freedesktop.org/show_bug.cgi?id=39720 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
14 lines
439 B
Text
14 lines
439 B
Text
## this tests the server side in a successful auth of type ANONYMOUS
|
|
|
|
## Act as a server that accepts anonymous authorization
|
|
SERVER_ANONYMOUS
|
|
## verify that prior to doing anything, we haven't authed as anyone
|
|
EXPECT_HAVE_NO_CREDENTIALS
|
|
SEND 'AUTH ANONYMOUS 442d42757320312e312e31'
|
|
EXPECT_COMMAND OK
|
|
EXPECT_STATE WAITING_FOR_INPUT
|
|
SEND 'BEGIN'
|
|
EXPECT_STATE AUTHENTICATED
|
|
## verify that we are still anonymous
|
|
EXPECT_HAVE_NO_CREDENTIALS
|
|
|