1## this tests that a client can login anonymously
2
3CLIENT
4
5## Reject whatever mechanism the client picks first
6EXPECT_COMMAND AUTH
7SEND 'REJECTED DBUS_TEST_NONEXISTENT_MECH1 ANONYMOUS DBUS_TEST_NONEXISTENT_MECH2'
8
9## And this time we get ANONYMOUS
10
11EXPECT_COMMAND AUTH
12## of course real DBUS_COOKIE_SHA1 would not send this here...
13SEND 'OK 1234deadbeef'
14
15EXPECT_COMMAND BEGIN
16EXPECT_STATE AUTHENTICATED
17