]> git.cworth.org Git - notmuch/blobdiff - test/T081-sexpr-search.sh
test: treat undefined feature variables as 0
[notmuch] / test / T081-sexpr-search.sh
index 0c7db9c248bdfe2e143dab1f9f63d9ceaded9256..8800b545982751c1ac5dc0716fa605f4c72fe77c 100755 (executable)
@@ -2,7 +2,7 @@
 test_description='"notmuch search" in several variations'
 . $(dirname "$0")/test-lib.sh || exit 1
 
-if [ $NOTMUCH_HAVE_SFSEXP -ne 1 ]; then
+if [ "${NOTMUCH_HAVE_SFSEXP-0}" != "1" ]; then
     printf "Skipping due to missing sfsexp library\n"
     test_done
 fi