X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2FT510-thread-replies.sh;h=8ff2ade9711f3756a083283a7be53e237aa6f0b9;hb=ea08032ae40119b24ef22c1c30aaf631cda02dd0;hp=72af50df70087c1e89d914dfd649dc46b96adacc;hpb=9b568e73e1afc211306d18dac3d27df4a07a0fdd;p=notmuch diff --git a/test/T510-thread-replies.sh b/test/T510-thread-replies.sh index 72af50df..8ff2ade9 100755 --- a/test/T510-thread-replies.sh +++ b/test/T510-thread-replies.sh @@ -167,7 +167,6 @@ test_expect_equal_json "$output" "$expected" add_email_corpus threading test_begin_subtest "reply to ghost" -test_subtest_known_broken notmuch show --entire-thread=true id:000-real-root@example.org | grep ^Subject: | head -1 > OUTPUT cat < EXPECTED Subject: root message @@ -175,7 +174,6 @@ EOF test_expect_equal_file EXPECTED OUTPUT test_begin_subtest "reply to ghost (tree view)" -test_subtest_known_broken test_emacs '(notmuch-tree "id:000-real-root@example.org") (notmuch-test-wait) (test-output) @@ -211,4 +209,18 @@ End of search results. EOF test_expect_equal_file EXPECTED OUTPUT +test_begin_subtest "trusting reply-to (tree view)" +test_subtest_known_broken +test_emacs '(notmuch-tree "id:B00-root@example.org") + (notmuch-test-wait) + (test-output) + (delete-other-windows)' +cat < EXPECTED + 2016-06-17 Alice ┬►root message (inbox unread) + 2016-06-18 Alice ╰┬►child message (inbox unread) + 2016-06-18 Alice ╰─►grand-child message (inbox unread) +End of search results. +EOF +test_expect_equal_file EXPECTED OUTPUT + test_done