mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-27 19:40:11 +01:00
17 lines
404 B
Text
17 lines
404 B
Text
|
|
## this tests that a client can login anonymously
|
||
|
|
|
||
|
|
CLIENT
|
||
|
|
|
||
|
|
## Reject whatever mechanism the client picks first
|
||
|
|
EXPECT_COMMAND AUTH
|
||
|
|
SEND 'REJECTED DBUS_TEST_NONEXISTENT_MECH1 ANONYMOUS DBUS_TEST_NONEXISTENT_MECH2'
|
||
|
|
|
||
|
|
## And this time we get ANONYMOUS
|
||
|
|
|
||
|
|
EXPECT_COMMAND AUTH
|
||
|
|
## of course real DBUS_COOKIE_SHA1 would not send this here...
|
||
|
|
SEND 'OK 1234deadbeef'
|
||
|
|
|
||
|
|
EXPECT_COMMAND BEGIN
|
||
|
|
EXPECT_STATE AUTHENTICATED
|