summaryrefslogtreecommitdiffstats
path: root/test/data/auth/external-silly.auth-script
blob: 4e18ee8d713a78b51d4848f288013837f9b25d1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
## this tests we can't auth if socket reports silly credentials but we ask for our own uid

SERVER
## verify that prior to doing anything, we haven't authed as anyone
EXPECT_HAVE_NO_CREDENTIALS
SILLY_CREDENTIALS
SEND 'AUTH EXTERNAL USERID_HEX'
EXPECT_COMMAND REJECTED
EXPECT_STATE WAITING_FOR_INPUT
## verify that we still haven't authed as anyone
EXPECT_HAVE_NO_CREDENTIALS