]> rtime.felk.cvut.cz Git - notmuch.git/blobdiff - test/test-lib.sh
test-lib: Add dummy subject to force empty subject
[notmuch.git] / test / test-lib.sh
index 53db9caa5f9860ec1cb135032bb7a58f88f2fcce..6057238c7e3cc9f6880efd49e20923cf2d6c0140 100644 (file)
@@ -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