]> git.notmuchmail.org Git - notmuch/blobdiff - test/T850-git.sh
test: treat undefined feature variables as 0
[notmuch] / test / T850-git.sh
index 55cec78a16391b3f01e4139d5086729ca7f94bfb..be6e0cd41a1083d318a0c5715a4fe46483177759 100755 (executable)
@@ -2,7 +2,7 @@
 test_description='"notmuch git" to save and restore tags'
 . $(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