At the moment, the test-lib fills in any missing headers. This makes it impossible to test our handling of empty subjects. This will allow us to use a special dummy subject -- `@FORCE_EMPTY` -- to force the subject to remain empty. --- test/test-lib.sh | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/test/test-lib.sh b/test/test-lib.sh index 53db9ca..6057238 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -368,6 +368,8 @@ generate_message () else template[subject]="Test message #${gen_msg_cnt}" fi + elif [ "${template[subject]}" = "@FORCE_EMPTY" ]; then + template[subject]="" fi if [ -z "${template[date]}" ]; then -- 2.1.2 _______________________________________________ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch