X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2FT520-show.sh;h=12bde6c78f8912140fd2ec0fe276a0247caaf8c2;hb=HEAD;hp=c7b73a6d4a2bc2a9f892732f49052e1d97052183;hpb=4612f3eb3dbf16bf98ccbadef77d7a6f6361e692;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'