aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYuri Volchkov <yuri.volchkov@gmail.com>2017-08-21 17:44:48 +0200
committerDavid Bremner <david@tethera.net>2017-08-22 18:48:29 -0300
commit09fa51303c6ba5adfd2431d87663523aa799288b (patch)
treeb1f1a0db1303397cd3752c6bbe0be04d7c4745e0 /test
parent39cc84e9fc84065835bce0b0ebd92f4c7adbb23a (diff)
show: workaround for the missing file problem
This patch fixes the 'Deleted first duplicate file does not stop notmuch show from working' test. If a message to be shown has several duplicated files, and for some reason the first file in the list is not available anymore, notmuch will exit with an error. This is clearly a problem in the database, but we are not going to let this problem be a show-stopper. Let's walk through the list, and show the first existing file. Signed-off-by: Yuri Volchkov <yuri.volchkov@gmail.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest/T670-duplicate-mid.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/T670-duplicate-mid.sh b/test/T670-duplicate-mid.sh
index f6f16029..decbc0a4 100755
--- a/test/T670-duplicate-mid.sh
+++ b/test/T670-duplicate-mid.sh
@@ -39,7 +39,6 @@ test_expect_equal_file EXPECTED OUTPUT
rm ${MAIL_DIR}/copy1
test_begin_subtest 'Deleted first duplicate file does not stop notmuch show from working'
-test_subtest_known_broken
output=$(notmuch show --body=false --format=json id:duplicate)
expected='[[[{
"id": "'duplicate'",