diff options
| author | David Bremner <david@tethera.net> | 2017-03-17 09:17:48 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2017-03-24 09:24:13 -0300 |
| commit | 497b83780ee50e2cd37f352caa3bd2b6c936dfab (patch) | |
| tree | 98a3b243effede0e1a89d331486e17a6d82420c3 /test/T650-regexp-query.sh | |
| parent | 06adc276682d1d5f73d78df2e898ad4191eb4499 (diff) | |
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.
Diffstat (limited to 'test/T650-regexp-query.sh')
| -rwxr-xr-x | test/T650-regexp-query.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/T650-regexp-query.sh b/test/T650-regexp-query.sh index df48ab82..1db6a76b 100755 --- a/test/T650-regexp-query.sh +++ b/test/T650-regexp-query.sh @@ -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 |
