X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Ftest-lib.sh;h=2aa4dfc958acf0cf1275fc339f0cc5eb7133b69e;hb=db5189a3b9194da55e5c311ef3fc50a72c8a7009;hp=ffab1bb509c400e15948b7fbe5df83d6294187d2;hpb=0d8d11d3383af3e9c38d818d97a04886f3521d58;p=notmuch diff --git a/test/test-lib.sh b/test/test-lib.sh index ffab1bb5..2aa4dfc9 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -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)