blob: 9a1620bc522d929ed7fdad8b92ce207e68341fc9 [file] [log] [blame]
Emeric Vigier2f625822012-08-06 11:09:52 -04001## 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