git » chasquid » commit f5949a7

test: Update expected DSN to accept headers set by latest msmtp

author Alberto Bertogli
2022-11-12 18:18:07 UTC
committer Alberto Bertogli
2022-11-12 18:21:13 UTC
parent c738c7edf9ef77cf0bb0b56e326507849e4f527d

test: Update expected DSN to accept headers set by latest msmtp

Newer versions of msmtp now set In-Reply-To and References header,
causing t-16-spf test to fail because we expect them to be empty (for no
particular reason).

So this patch changes our expected DSN used for testing to ignore their
values.

test/t-16-spf/expected_dsn +2 -2

diff --git a/test/t-16-spf/expected_dsn b/test/t-16-spf/expected_dsn
index 5a56e99..0d3df60 100644
--- a/test/t-16-spf/expected_dsn
+++ b/test/t-16-spf/expected_dsn
@@ -4,8 +4,8 @@ To: <userA@srv-a>
 Subject: Mail delivery failed: returning message to sender
 Message-ID: <chasquid-dsn-*
 Date: *
-In-Reply-To: 
-References: 
+In-Reply-To: *
+References: *
 X-Failed-Recipients: userB@srv-b, 
 Auto-Submitted: auto-replied
 MIME-Version: 1.0