This patch adds a new integration test, which executes various small dialogs, to cover corner cases that are not well covered (according to our coverage report). For example, "EHLO" without domain, or invalid DATA. While we could do them via Go tests, this way is more realistic, and the tests are easier to write.
12 lines
108 B
Plaintext
12 lines
108 B
Plaintext
|
|
c tcp_connect localhost:1025
|
|
|
|
c <~ 220
|
|
c -> HELO
|
|
c <~ 501
|
|
c -> EHLO
|
|
c <~ 501
|
|
c -> HELO localhost
|
|
c <~ 250
|
|
|