[PATCH] Clarify usage of `additional_headers' in test/test-lib.sh:generate_message.
Thomas Schwinge
thomas at schwinge.name
Thu Jan 27 01:17:21 PST 2011
Signed-off-by: Thomas Schwinge <thomas at schwinge.name>
---
test/test-lib.sh | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/test/test-lib.sh b/test/test-lib.sh
index d179426..f536172 100755
--- a/test/test-lib.sh
+++ b/test/test-lib.sh
@@ -351,8 +351,11 @@ ${additional_headers}"
${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).
-cat <<EOF >"$gen_msg_filename"
+ cat <<EOF >"$gen_msg_filename"
From: ${template[from]}
To: ${template[to]}
Message-Id: <${gen_msg_id}>
--
1.7.1
More information about the notmuch
mailing list