aboutsummaryrefslogtreecommitdiff
path: root/test/T355-smime.sh
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2023-04-09 11:26:23 -0300
committerDavid Bremner <david@tethera.net>2023-07-21 06:58:16 -0300
commitdfa43a19218ed46f677034ab7bf8b8907a327935 (patch)
treeb930d74b25e0c0c42977784af638a806707aaf7d /test/T355-smime.sh
parente9ff896f8491e8780fcf7322436fc0c0575fe8f9 (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/T355-smime.sh')
-rwxr-xr-xtest/T355-smime.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/T355-smime.sh b/test/T355-smime.sh
index 809274ce..3bd5a17e 100755
--- a/test/T355-smime.sh
+++ b/test/T355-smime.sh
@@ -184,7 +184,7 @@ output=$(notmuch show --format=json id:smime-onepart-signed@protected-headers.ex
test_valid_json "$output"
test_begin_subtest "Verify signature on PKCS#7 SignedData message"
-if [ $NOTMUCH_HAVE_64BIT_TIME_T -ne 1 ]; then
+if [ "${NOTMUCH_HAVE_64BIT_TIME_T-0}" != "1" ]; then
test_subtest_known_broken
fi
output=$(notmuch show --format=json id:smime-onepart-signed@protected-headers.example)