]> git.notmuchmail.org Git - notmuch/blobdiff - test/T810-tsan.sh
test: treat undefined feature variables as 0
[notmuch] / test / T810-tsan.sh
index 7e877b27e6132d534209d1517966480a8eb8c07d..4071e2968f2ad62eb6642c68b39f2750327682d0 100755 (executable)
@@ -8,7 +8,7 @@ test_description='run code with TSan enabled against the library'
 
 . "$test_directory"/test-lib.sh || exit 1
 
-if [ $NOTMUCH_HAVE_TSAN -ne 1 ]; then
+if [ "${NOTMUCH_HAVE_TSAN-0}" != "1" ]; then
     printf "Skipping due to missing TSan support\n"
     test_done
 fi