mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 09:24:54 +01:00
test: Mark the search-insufficient-from-quoting tests to expect success
Theses were expected failures only due to a bug in GMime (with versions of GMime before 2.4.18). As of GMime version 2.4.18 this bug is fixed and these tests now pass.
This commit is contained in:
parent
df91c16943
commit
d313bfb59b
1 changed files with 4 additions and 4 deletions
|
@ -21,22 +21,22 @@ add_message \
|
|||
|
||||
test_begin_subtest "Search by first name"
|
||||
output=$(notmuch search from:Some.Name | notmuch_search_sanitize)
|
||||
test_expect_equal_failure "$output" "thread:XXX 2001-01-05 [1/1] Some.Name for Someone; This message needs more quoting on the From line (inbox unread)
|
||||
test_expect_equal "$output" "thread:XXX 2001-01-05 [1/1] Some.Name for Someone; This message needs more quoting on the From line (inbox unread)
|
||||
thread:XXX 2001-01-05 [1/1] Some.Name for Someone; This message has necessary quoting in place (inbox unread)"
|
||||
|
||||
test_begin_subtest "Search by last name:"
|
||||
output=$(notmuch search from:Someone | notmuch_search_sanitize)
|
||||
test_expect_equal_failure "$output" "thread:XXX 2001-01-05 [1/1] Some.Name for Someone; This message needs more quoting on the From line (inbox unread)
|
||||
test_expect_equal "$output" "thread:XXX 2001-01-05 [1/1] Some.Name for Someone; This message needs more quoting on the From line (inbox unread)
|
||||
thread:XXX 2001-01-05 [1/1] Some.Name for Someone; This message has necessary quoting in place (inbox unread)"
|
||||
|
||||
test_begin_subtest "Search by address:"
|
||||
output=$(notmuch search from:bugs@quoting.com | notmuch_search_sanitize)
|
||||
test_expect_equal_failure "$output" "thread:XXX 2001-01-05 [1/1] Some.Name for Someone; This message needs more quoting on the From line (inbox unread)
|
||||
test_expect_equal "$output" "thread:XXX 2001-01-05 [1/1] Some.Name for Someone; This message needs more quoting on the From line (inbox unread)
|
||||
thread:XXX 2001-01-05 [1/1] Some.Name for Someone; This message has necessary quoting in place (inbox unread)"
|
||||
|
||||
test_begin_subtest "Search for all messages:"
|
||||
output=$(notmuch search '*' | notmuch_search_sanitize)
|
||||
test_expect_equal_failure "$output" "thread:XXX 2001-01-05 [1/1] Some.Name for Someone; This message needs more quoting on the From line (inbox unread)
|
||||
test_expect_equal "$output" "thread:XXX 2001-01-05 [1/1] Some.Name for Someone; This message needs more quoting on the From line (inbox unread)
|
||||
thread:XXX 2001-01-05 [1/1] Some.Name for Someone; This message has necessary quoting in place (inbox unread)
|
||||
thread:XXX 2001-01-05 [1/1] No.match Here; This message needs more quoting on the From line (inbox unread)
|
||||
thread:XXX 2001-01-05 [1/1] No.match Here; This message has necessary quoting in place (inbox unread)"
|
||||
|
|
Loading…
Reference in a new issue