This patch adds more tests for the dovecot library, in particular: - Protocol errors (invalid versions, etc.). - Invalid command (cli-specific test). - Connection breakups.
16 lines
245 B
Plaintext
16 lines
245 B
Plaintext
|
|
userdb unix_listen .dovecot-userdb
|
|
|
|
c = ./dovecot-auth-cli .dovecot exists username
|
|
|
|
userdb -> VERSION 1 1
|
|
userdb -> SPID 12345
|
|
|
|
userdb <- VERSION 1 1
|
|
userdb <- USER 1 username service=smtp
|
|
|
|
userdb -> OTHER
|
|
|
|
c <~ no: invalid response:
|
|
c wait 0
|