You must login to view /lordwelch/chasquid/src/commit/14e270b7f524480351a857a008bd392277be663d.
The GitHub option should be usable for most people, it only links via username.

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

34 lines
428 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 -> 250 Recibido
nc <- QUIT
nc -> 221 Chauchas
mda wait 0