Files
chasquid/cmd/mda-lmtp/test_tcp_null.cmy
Alberto Bertogli 4851b07098 test: Add missing test file in mda-lmtp
The mda-lmtp tests are missing a file in the repository, which causes the
test to fail. This went unnoticed because they are not included in the
automated test suite, which will be fixed in a follow-up patch.

This patch adds the mising test file, with a harder to miss name.
2017-12-09 18:41:27 +00:00

33 lines
403 B
Plaintext

nc tcp_listen localhost:14932
mda |= ./mda-lmtp --addr=localhost:14932 -f "<>" -d "<>" < test-email
nc -> 220 Hola desde expect
nc <~ LHLO .*
nc -> 250-Bienvenido!
nc -> 250 Contame...
nc <- MAIL FROM:<>
nc -> 250 Aja
nc <- RCPT TO:<>
nc -> 250 Aja
nc <- DATA
nc -> 354 Dale
nc <- Subject: test
nc <-
nc <- This is a test.
nc <- .
nc -> 250 Recibido
nc <- QUIT
nc -> 221 Chauchas
mda wait 0