]> git.cworth.org Git - notmuch/blobdiff - test/T800-asan.sh
test: treat undefined feature variables as 0
[notmuch] / test / T800-asan.sh
index 5055c93e122b2c82449e5df4cf5d38632d971545..7c28dc7c9b84ac3a5fd7303dce7ac3d1e0d8ff2d 100755 (executable)
@@ -2,7 +2,7 @@
 test_description='run code with ASAN enabled against the library'
 . $(dirname "$0")/test-lib.sh || exit 1
 
-if [ $NOTMUCH_HAVE_ASAN -ne 1 ]; then
+if [ "${NOTMUCH_HAVE_ASAN-0}" != "1" ]; then
     printf "Skipping due to missing ASAN support\n"
     test_done
 fi