From 74f8f15adc1e6fce2d3fcc34b7e9ef0b65d926db Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Fri, 24 Feb 2012 01:33:15 +0100 Subject: test: Add test for searching of uncommonly encoded messages Emails that are encoded differently than as ASCII or UTF-8 are not indexed properly by notmuch. It is not possible to search for non-ASCII words within those messages. --- test/test-lib.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/test-lib.sh') diff --git a/test/test-lib.sh b/test/test-lib.sh index 063a2b27..27815067 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -356,6 +356,11 @@ ${additional_headers}" ${additional_headers}" fi + if [ ! -z "${template[content-transfer-encoding]}" ]; then + additional_headers="Content-Transfer-Encoding: ${template[content-transfer-encoding]} +${additional_headers}" + fi + # Note that in the way we're setting it above and using it below, # `additional_headers' will also serve as the header / body separator # (empty line in between). -- cgit v1.2.3