]> git.notmuchmail.org Git - notmuch/blobdiff - test/test-lib.sh
Add TODO about more efficient stable thread queries
[notmuch] / test / test-lib.sh
index ffab1bb509c400e15948b7fbe5df83d6294187d2..2aa4dfc958acf0cf1275fc339f0cc5eb7133b69e 100644 (file)
@@ -22,6 +22,9 @@ if [ ${BASH_VERSINFO[0]} -lt 4 ]; then
     exit 1
 fi
 
+# Make sure echo builtin does not expand backslash-escape sequences by default.
+shopt -u xpg_echo
+
 # if --tee was passed, write the output not only to the terminal, but
 # additionally to the file test-results/$BASENAME.out, too.
 case "$GIT_TEST_TEE_STARTED, $* " in
@@ -442,6 +445,7 @@ emacs_deliver_message ()
 
     test_emacs \
        "(let ((message-send-mail-function 'message-smtpmail-send-it)
+               (mail-host-address \"example.com\")
               (smtpmail-smtp-server \"localhost\")
               (smtpmail-smtp-service \"25025\"))
           (notmuch-hello)