aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2017-03-25 11:51:03 -0300
committerDavid Bremner <david@tethera.net>2017-03-25 11:51:03 -0300
commitd877240f4e097eb3dd477409a24155c10e0b3c17 (patch)
tree4cfe273e80176afaba0b799d4398e18915a1311f /test
parent9b7dbed58ebd3aeee16b044fdffda6b39e90643e (diff)
parentbf84665cc01b50ce80cf1df369db6a6c1ff523dd (diff)
Merge branch 'release'
wildcard search fixes, plus release busywork
Diffstat (limited to 'test')
-rwxr-xr-xtest/T650-regexp-query.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/T650-regexp-query.sh b/test/T650-regexp-query.sh
index df48ab82..61739e87 100755
--- a/test/T650-regexp-query.sh
+++ b/test/T650-regexp-query.sh
@@ -11,6 +11,13 @@ fi
notmuch search --output=messages from:cworth > cworth.msg-ids
+test_begin_subtest "xapian wildcard search for from:"
+notmuch search --output=messages 'from:cwo*' > OUTPUT
+test_expect_equal_file cworth.msg-ids OUTPUT
+
+test_begin_subtest "xapian wildcard search for subject:"
+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