diff options
| author | David Bremner <david@tethera.net> | 2023-04-09 11:26:23 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2023-07-21 06:58:16 -0300 |
| commit | dfa43a19218ed46f677034ab7bf8b8907a327935 (patch) | |
| tree | b930d74b25e0c0c42977784af638a806707aaf7d /test/T800-asan.sh | |
| parent | e9ff896f8491e8780fcf7322436fc0c0575fe8f9 (diff) | |
test: treat undefined feature variables as 0
When running the test suite without building first, it is desirable to
have the tests consider these variables being undefined as equivalent
to the feature not being present, and in particular for the tests not
to generate errors.
Diffstat (limited to 'test/T800-asan.sh')
| -rwxr-xr-x | test/T800-asan.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/T800-asan.sh b/test/T800-asan.sh index 5055c93e..7c28dc7c 100755 --- a/test/T800-asan.sh +++ b/test/T800-asan.sh @@ -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 |
