aboutsummaryrefslogtreecommitdiff
path: root/test/search-by-folder
diff options
context:
space:
mode:
authorAustin Clements <amdragon@MIT.EDU>2011-06-29 03:10:55 -0400
committerCarl Worth <cworth@cworth.org>2011-06-29 15:26:45 -0700
commit47afbdfb7995d703987a273bccc3a60fedc6dd08 (patch)
tree04e0ce19648654b219fd6d45a1a65599d6b64bff /test/search-by-folder
parent8c39e8d6fbc1202605494d481b27be6bcccaf500 (diff)
test: Nix increment_mtime.
With the fix for the mtime race, this workaround is no longer necessary.
Diffstat (limited to 'test/search-by-folder')
-rwxr-xr-xtest/search-by-folder2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/search-by-folder b/test/search-by-folder
index 4afa483..5cc2ca8 100755
--- a/test/search-by-folder
+++ b/test/search-by-folder
@@ -23,14 +23,12 @@ test_expect_equal "$output" "thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; B
test_begin_subtest "After removing duplicate instance of matching path"
rm -r "${MAIL_DIR}/bad/news"
-increment_mtime "${MAIL_DIR}/bad"
notmuch new
output=$(notmuch search folder:bad/news | notmuch_search_sanitize)
test_expect_equal "$output" "thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; Bears (inbox unread)"
test_begin_subtest "After rename, old path returns nothing"
mv "${MAIL_DIR}/duplicate/bad/news" "${MAIL_DIR}/duplicate/bad/olds"
-increment_mtime "${MAIL_DIR}/duplicate/bad"
notmuch new
output=$(notmuch search folder:bad/news | notmuch_search_sanitize)
test_expect_equal "$output" ""