X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Ftest-lib.sh;h=d3a8c58e97b92eb5382341860fb0e493aa8209b2;hp=ffab1bb509c400e15948b7fbe5df83d6294187d2;hb=71521f06b00a01c5b0eaea5f5f624fe57ed7f426;hpb=0d8d11d3383af3e9c38d818d97a04886f3521d58 diff --git a/test/test-lib.sh b/test/test-lib.sh index ffab1bb5..d3a8c58e 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