]> git.notmuchmail.org Git - notmuch/blobdiff - test/T670-duplicate-mid.sh
test: emacs/show: ensure that protected headers appear as expected
[notmuch] / test / T670-duplicate-mid.sh
index bf8cc3a816b65e8cc858411979fcd22340ac2e2d..c17ccb6970ac0740517c00dbaa6325e9d0e259ea 100755 (executable)
@@ -48,7 +48,11 @@ notmuch search --output=files subject:'"message 2"' | notmuch_dir_sanitize > OUT
 test_expect_equal_file EXPECTED OUTPUT
 
 test_begin_subtest 'Regexp search for second subject'
-test_subtest_known_broken
+# Note that missing field processor support really means the test
+# doesn't make sense, but it happens to pass.
+if [ $NOTMUCH_HAVE_XAPIAN_FIELD_PROCESSOR -eq 1 ]; then
+    test_subtest_known_broken
+fi
 cat <<EOF >EXPECTED
 MAIL_DIR/copy0
 MAIL_DIR/copy1
@@ -88,6 +92,7 @@ output=$(notmuch show --body=false --format=json id:duplicate |
             notmuch_json_show_sanitize | sed 's/message [0-9]/A_SUBJECT/')
 expected='[[[{
     "id": "XXXXX",
+    "crypto": {},
     "match": true,
     "excluded": false,
     "filename": [