ofdbus/dbus/data/auth/fallback.auth-script
author Brendan Donegan <brendand@symbian.org>
Thu, 29 Apr 2010 14:59:41 +0100
branchRCL_3
changeset 29 3520f1ef6bf6
parent 0 e4d67989cc36
permissions -rw-r--r--
Fix for Bug 2603 - OpenEnv CIniData does not understand Unix line endings

## this tests that a client can fallback to a secondary auth mech 

CLIENT

## Will try EXTERNAL by default first without first calling AUTH alone.

EXPECT_COMMAND AUTH
SEND 'REJECTED EXTERNAL DBUS_COOKIE_SHA1 DBUS_TEST_NONEXISTENT_MECH'

## And this time we get DBUS_COOKIE_SHA1

EXPECT_COMMAND AUTH
## of course real DBUS_COOKIE_SHA1 would not send this here...
SEND 'OK 1234deadbeef'

EXPECT_COMMAND BEGIN
EXPECT_STATE AUTHENTICATED