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:
3
cmd/mda-lmtp/test-email
Normal file
3
cmd/mda-lmtp/test-email
Normal file
@@ -0,0 +1,3 @@
|
||||
Subject: test
|
||||
|
||||
This is a test.
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user