blob: 172ae9de979795eafa677a36d7177e431d4723de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
## this tests the server side in a successful auth of type ANONYMOUS
SERVER
## verify that prior to doing anything, we haven't authed as anyone
EXPECT_HAVE_NO_CREDENTIALS
SEND 'AUTH ANONYMOUS 442d42757320312e312e31'
EXPECT_COMMAND OK
EXPECT_STATE WAITING_FOR_INPUT
SEND 'BEGIN'
EXPECT_STATE AUTHENTICATED
## verify that we are still anonymous
EXPECT_HAVE_NO_CREDENTIALS
|