]> git.notmuchmail.org Git - notmuch/blobdiff - test/T355-smime.sh
test: treat undefined feature variables as 0
[notmuch] / test / T355-smime.sh
index 809274ce14a2156ab56d68c0d0e524da3baecab6..3bd5a17ed7b323392175c0aab14b9c8e7cc759a4 100755 (executable)
@@ -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)