X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2FT520-show.sh;fp=test%2FT520-show.sh;h=6bcf109c76160c32fa0380fc6d2b68deb4d37474;hb=1129cf890ef812321ac8296a4ca964a796df0b87;hp=c7b73a6d4a2bc2a9f892732f49052e1d97052183;hpb=12aa05f07cb8aae736895c46fb25e0106daf207c;p=notmuch diff --git a/test/T520-show.sh b/test/T520-show.sh index c7b73a6d..6bcf109c 100755 --- a/test/T520-show.sh +++ b/test/T520-show.sh @@ -35,7 +35,7 @@ notmuch show --entire-thread=true --sort=oldest-first $QUERY > OUTPUT test_expect_equal_file EXPECTED OUTPUT -if [ $NOTMUCH_HAVE_SFSEXP -eq 1 ]; then +if [ "${NOTMUCH_HAVE_SFSEXP-0}" = "1" ]; then test_query_syntax '(and "wonderful" "wizard")' 'wonderful and wizard' test_query_syntax '(or "php" "wizard")' 'php or wizard'