1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00

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.
This commit is contained in:
Alberto Bertogli
2017-12-09 18:41:27 +00:00
parent fcf2cae120
commit 4851b07098
5 changed files with 7 additions and 4 deletions

3
cmd/mda-lmtp/test-email Normal file
View File

@@ -0,0 +1,3 @@
Subject: test
This is a test.

View File

@@ -1,7 +1,7 @@
nc tcp_listen localhost:14932
mda |= ./mda-lmtp --addr=localhost:14932 -f "<>" -d "<>" < .data
mda |= ./mda-lmtp --addr=localhost:14932 -f "<>" -d "<>" < test-email
nc -> 220 Hola desde expect

View File

@@ -1,7 +1,7 @@
nc tcp_listen localhost:14932
mda |= ./mda-lmtp --addr=localhost:14932 -f from -d to < .data
mda |= ./mda-lmtp --addr=localhost:14932 -f from -d to < test-email
nc -> 220 Hola desde expect

View File

@@ -2,7 +2,7 @@
nc unix_listen .test-sock
mda = ./mda-lmtp --addr=.test-sock --addr_network=unix \
-f from -d to < .data
-f from -d to < test-email
nc -> 220 Hola desde expect

View File

@@ -2,7 +2,7 @@
nc unix_listen .test-sock
mda |= ./mda-lmtp --addr=.test-sock --addr_network=unix \
-f from -d to < .data
-f from -d to < test-email
nc -> 220 Hola desde expect