From 6000d07ad09a065ee1cf17748dae5f73b43b916a Mon Sep 17 00:00:00 2001 From: Alberto Bertogli Date: Sun, 1 Dec 2019 20:38:50 +0000 Subject: [PATCH] test: Test multiline headers in hook output Hook output is checked to see if it looks like a header, which includes the possibility of multi-line headers. This patch extends the tests to include a multi-line header, to prevent accidental regressions. --- test/t-10-hooks/config/hooks/post-data.good | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/t-10-hooks/config/hooks/post-data.good b/test/t-10-hooks/config/hooks/post-data.good index 0bc7b7b..0fb06ac 100755 --- a/test/t-10-hooks/config/hooks/post-data.good +++ b/test/t-10-hooks/config/hooks/post-data.good @@ -16,4 +16,6 @@ if [ "$RCPT_TO" == "permanent@testserver" ]; then fi echo "X-Post-Data: success" +echo "X-Post-Data-Multiline: multiline" +echo " header for testing."