aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Thomas Schwinge <thomas@schwinge.name>2011-01-27 02:17:21 -0700
committerGravatar Carl Worth <cworth@cworth.org>2011-01-28 15:19:19 +1000
commit21e97c50d4f124ba42e8b0b30b296dc012008d46 (patch)
tree6ccec9c2e02e08386f2689d2674e265942fd2f24 /test
parent15d8928f4133eb28f7823b0f4d4c5edc6471131c (diff)
Clarify usage of `additional_headers' in test/test-lib.sh:generate_message.
Signed-off-by: Thomas Schwinge <thomas@schwinge.name>
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-lib.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test-lib.sh b/test/test-lib.sh
index d1794265..f5361725 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}>