sl@0: ## this tests that a client can fallback to a secondary auth mech sl@0: sl@0: CLIENT sl@0: sl@0: ## Will try EXTERNAL by default first without first calling AUTH alone. sl@0: sl@0: EXPECT_COMMAND AUTH sl@0: SEND 'REJECTED EXTERNAL DBUS_COOKIE_SHA1 DBUS_TEST_NONEXISTENT_MECH' sl@0: sl@0: ## And this time we get DBUS_COOKIE_SHA1 sl@0: sl@0: EXPECT_COMMAND AUTH sl@0: ## of course real DBUS_COOKIE_SHA1 would not send this here... sl@0: SEND 'OK 1234deadbeef' sl@0: sl@0: EXPECT_COMMAND BEGIN sl@0: EXPECT_STATE AUTHENTICATED