X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Fnotmuch-test;h=cddaafb867792319ac6345f8c8e2a6eb9e7894ad;hb=552c61e2693a1be100d17a803b2e33209d09ae94;hp=ca41408955979c0f10ad8bd45562b7f6be22f439;hpb=98845fdbb2a4acaa0036f8e2e998e726b18e6b13;p=notmuch diff --git a/test/notmuch-test b/test/notmuch-test index ca414089..cddaafb8 100755 --- a/test/notmuch-test +++ b/test/notmuch-test @@ -66,13 +66,14 @@ increment_mtime () # '[cc]="Some User "' # [reply-to]=some-address # [in-reply-to]= +# [references]= # '[header]=full header line, including keyword' # # Additional values for email headers. If these are not provided # then the relevant headers will simply not appear in the # message. # -# '[id]=' +# '[id]=message-id' # # Controls the message-id of the created message. gen_msg_cnt=0 @@ -141,6 +142,11 @@ ${additional_headers}" ${additional_headers}" fi + if [ ! -z "${template[references]}" ]; then + additional_headers="References: ${template[references]} +${additional_headers}" + fi + cat <$gen_msg_filename From: ${template[from]}