Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 1 | ## this tests that a client can login anonymously |
2 | |||||
3 | CLIENT | ||||
4 | |||||
5 | ## Reject whatever mechanism the client picks first | ||||
6 | EXPECT_COMMAND AUTH | ||||
7 | SEND 'REJECTED DBUS_TEST_NONEXISTENT_MECH1 ANONYMOUS DBUS_TEST_NONEXISTENT_MECH2' | ||||
8 | |||||
9 | ## And this time we get ANONYMOUS | ||||
10 | |||||
11 | EXPECT_COMMAND AUTH | ||||
12 | ## of course real DBUS_COOKIE_SHA1 would not send this here... | ||||
13 | SEND 'OK 1234deadbeef' | ||||
14 | |||||
15 | EXPECT_COMMAND BEGIN | ||||
16 | EXPECT_STATE AUTHENTICATED |