]> git.notmuchmail.org Git - notmuch/commitdiff
Clarify usage of `additional_headers' in test/test-lib.sh:generate_message.
authorThomas Schwinge <thomas@schwinge.name>
Thu, 27 Jan 2011 09:17:21 +0000 (02:17 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 28 Jan 2011 05:19:19 +0000 (15:19 +1000)
Signed-off-by: Thomas Schwinge <thomas@schwinge.name>
test/test-lib.sh

index d1794265fd33a0e4893ef9c306bba421effc4702..f53617258ae8bfca73642de89b7d39eadad03354 100755 (executable)
@@ -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}>