summaryrefslogtreecommitdiffstats
path: root/test/data/auth/fallback.auth-script
blob: 1b8c40f5df4fdbc81cb13d817782ced778f566af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
## 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_STUPID_TEST_MECH'

## Will try EXTERNAL again.

EXPECT_COMMAND AUTH
SEND 'REJECTED EXTERNAL DBUS_STUPID_TEST_MECH'

## And this time we get DBUS_STUPID_TEST_MECH.

EXPECT_COMMAND AUTH
SEND 'OK'

EXPECT_COMMAND BEGIN
EXPECT_STATE AUTHENTICATED