1 ## this tests a successful auth of type EXTERNAL 2 3 SERVER 4 ## verify that prior to doing anything, we haven't authed as anyone 5 EXPECT_HAVE_NO_CREDENTIALS 6 SEND 'AUTH EXTERNAL USERID_HEX' 7 EXPECT_COMMAND OK 8 EXPECT_STATE WAITING_FOR_INPUT 9 SEND 'BEGIN' 10 EXPECT_STATE AUTHENTICATED 11 ## verify that we now have some credentials 12 EXPECT_HAVE_SOME_CREDENTIALS 13