[PATCH] test:Folder tags shouldn't match after removal of file in given folder
Austin Clements
amdragon at mit.edu
Mon Jun 27 13:58:00 PDT 2011
On Mon, Jun 27, 2011 at 1:12 PM, Mark Anderson <ma.skies at gmail.com> wrote:
> +test_begin_subtest "Test matches folder:spam"
> +output=$(notmuch search folder:spam)
> +test_expect_equal "$output" "thread:0000000000000001 2001-01-05 [1/1] Notmuch Test Suite; Test message #1 (inbox unread)"
> +
> +sleep 1;
I assume this has to do with directory mtime's. Is it sufficient to
instead increment_mtime $dir/spam after the rm below?
> +
> +test_begin_subtest "Remove folder:spam copy of email"
> +rm $dir/spam/$(basename $file_x)
> +output=$(NOTMUCH_NEW)
> +test_expect_equal "$output" "No new mail. Detected 1 file rename."
More information about the notmuch
mailing list