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

test: Add SPF integration test

This patch adds a new integration test to cover SPF checks. The main
goal is not to cover the SPF parsing, since that's handled by the
library already, but the higher level aspects: that the mails are indeed
rejected, that the DSN looks reasonable, etc.
This commit is contained in:
Alberto Bertogli
2019-12-01 22:11:57 +00:00
parent 6000d07ad0
commit 28cb9169cc
13 changed files with 213 additions and 3 deletions

View File

@@ -112,8 +112,10 @@ function conngen() {
go run ${UTILDIR}/conngen.go "$@"
}
function minidns() {
go run ${UTILDIR}/minidns.go "$@"
function minidns_bg() {
( cd ${UTILDIR}; go build minidns.go )
${UTILDIR}/minidns "$@" &
MINIDNS=$!
}
function success() {