Merge branch 'release'
[notmuch] / test / T650-regexp-query.sh
index df48ab82511cb7a2af0243fa1c6591557c8cf5c3..61739e873eb214364f0f3b60748fa30279580787 100755 (executable)
@@ -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