1## this tests that a client can fallback to a secondary auth mech
2
3CLIENT
4
5## Will try EXTERNAL by default first without first calling AUTH alone.
6
7EXPECT_COMMAND AUTH
8SEND 'REJECTED EXTERNAL DBUS_COOKIE_SHA1 DBUS_TEST_NONEXISTENT_MECH'
9
10## And this time we get DBUS_COOKIE_SHA1
11
12EXPECT_COMMAND AUTH
13## of course real DBUS_COOKIE_SHA1 would not send this here...
14SEND 'OK 1234deadbeef'
15
16EXPECT_COMMAND BEGIN
17EXPECT_STATE AUTHENTICATED
18