diff options
Diffstat (limited to 'test/data/auth/cancel.auth-script')
-rw-r--r-- | test/data/auth/cancel.auth-script | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/data/auth/cancel.auth-script b/test/data/auth/cancel.auth-script new file mode 100644 index 00000000..f2c519aa --- /dev/null +++ b/test/data/auth/cancel.auth-script @@ -0,0 +1,19 @@ +## this tests canceling EXTERNAL + +SERVER +SEND 'AUTH EXTERNAL USERID_HEX' +EXPECT_COMMAND OK +EXPECT_STATE WAITING_FOR_INPUT +SEND 'CANCEL' +EXPECT_COMMAND REJECTED +EXPECT_STATE WAITING_FOR_INPUT + +## now start over and see if it works +SEND 'AUTH EXTERNAL USERID_HEX' +EXPECT_COMMAND OK +EXPECT_STATE WAITING_FOR_INPUT +SEND 'BEGIN' +EXPECT_STATE AUTHENTICATED + + + |