Files
chasquid/cmd/mda-lmtp/test_unix_failure.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

32 lines
443 B
Plaintext

nc unix_listen .test-sock
mda = ./mda-lmtp --addr=.test-sock --addr_network=unix \
-f from -d to < test-email
nc -> 220 Hola desde expect
nc <~ LHLO .*
nc -> 250-Bienvenido!
nc -> 250 Contame...
nc <- MAIL FROM:<from>
nc -> 250 Aja
nc <- RCPT TO:<to>
nc -> 250 Aja
nc <- DATA
nc -> 354 Dale
nc <- Subject: test
nc <-
nc <- This is a test.
nc <- .
nc -> 452 Nananana
mda <- Delivery failed remotely: 452 Nananana
mda wait 75