summaryrefslogtreecommitdiffstats
path: root/test/data/auth/anonymous-client-successful.auth-script
blob: 9a1620bc522d929ed7fdad8b92ce207e68341fc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
## this tests that a client can login anonymously

CLIENT

## Reject whatever mechanism the client picks first
EXPECT_COMMAND AUTH
SEND 'REJECTED DBUS_TEST_NONEXISTENT_MECH1 ANONYMOUS DBUS_TEST_NONEXISTENT_MECH2'

## And this time we get ANONYMOUS

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

EXPECT_COMMAND BEGIN
EXPECT_STATE AUTHENTICATED