mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
test: add known broken tests wildcard search in from and subject
This was broken by the addition of regexp searching. The detection of wildcards is not currently done in the recursive call to parse_query, because of quoting issues.
This commit is contained in:
parent
06adc27668
commit
497b83780e
1 changed files with 9 additions and 0 deletions
|
@ -11,6 +11,15 @@ fi
|
|||
|
||||
notmuch search --output=messages from:cworth > cworth.msg-ids
|
||||
|
||||
test_begin_subtest "xapian wildcard search for from:"
|
||||
test_subtest_known_broken
|
||||
notmuch search --output=messages 'from:cwo*' > OUTPUT
|
||||
test_expect_equal_file cworth.msg-ids OUTPUT
|
||||
|
||||
test_begin_subtest "xapian wildcard search for subject:"
|
||||
test_subtest_known_broken
|
||||
test_expect_equal $(notmuch count 'subject:count*') 1
|
||||
|
||||
test_begin_subtest "regexp from search, case sensitive"
|
||||
notmuch search --output=messages from:/carl/ > OUTPUT
|
||||
test_expect_equal_file /dev/null OUTPUT
|
||||
|
|
Loading…
Reference in a new issue