You must login to view /lordwelch/chasquid/commit/7fe22ef1044dbb359754435906acbf5b6d2def1d?files=docs.
The GitHub option should be usable for most people, it only links via username.

Files
chasquid/test/t-12-minor_dialogs/empty_helo.cmy
Alberto Bertogli 61d2961ee9 test: Add a new integration test with minor dialogs
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.
2018-03-02 19:37:37 +00:00

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