summaryrefslogtreecommitdiffstats
path: root/test/data/auth/external-successful.auth-script
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/auth/external-successful.auth-script')
-rw-r--r--test/data/auth/external-successful.auth-script5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/data/auth/external-successful.auth-script b/test/data/auth/external-successful.auth-script
index 128d3294..222938cc 100644
--- a/test/data/auth/external-successful.auth-script
+++ b/test/data/auth/external-successful.auth-script
@@ -1,9 +1,12 @@
## this tests a successful auth of type EXTERNAL
SERVER
+## verify that prior to doing anything, we haven't authed as anyone
+EXPECT_HAVE_NO_CREDENTIALS
SEND 'AUTH EXTERNAL USERID_HEX'
EXPECT_COMMAND OK
EXPECT_STATE WAITING_FOR_INPUT
SEND 'BEGIN'
EXPECT_STATE AUTHENTICATED
-
+## verify that we now have some credentials
+EXPECT_HAVE_SOME_CREDENTIALS