From 86e0baeb6df5509393832488c0de3520a1a5bdcb Mon Sep 17 00:00:00 2001 From: Mark Anderson Date: Mon, 27 Jun 2011 11:12:24 -0600 Subject: test:Folder tags shouldn't match after removal of file in given folder Test for bug. Current stemming support for notmuch adds extra terms to the DB which aren't removed when the file renames are detected. When folder tags are added to a message, Xapian terms for both XFOLDER and ZXFOLDER are generated. When one of the filenames are renamed/removed, only the XFOLDER tags are removed, leaving it possible for a match on a folder: tag that was previously but is no longer a match in the maildir. --- test/notmuch-test | 1 + 1 file changed, 1 insertion(+) (limited to 'test/notmuch-test') diff --git a/test/notmuch-test b/test/notmuch-test index fe85c6a4..79e6267b 100755 --- a/test/notmuch-test +++ b/test/notmuch-test @@ -41,6 +41,7 @@ TESTS=" maildir-sync crypto symbol-hiding + search-folder-coherence " TESTS=${NOTMUCH_TESTS:=$TESTS} -- cgit v1.2.3