]> git.notmuchmail.org Git - notmuch/commit
test: Use increment_mtime rather than sleep
authorCarl Worth <cworth@cworth.org>
Wed, 29 Jun 2011 21:11:38 +0000 (14:11 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 29 Jun 2011 21:11:38 +0000 (14:11 -0700)
commit55a78d5dbd96b80939458d9d6cc8a536b1befa87
treeac5758860ee7819a3aab0fc31a0a2b99948ce137
parent86e0baeb6df5509393832488c0de3520a1a5bdcb
test: Use increment_mtime rather than sleep

The sleep was to force the directory's mtime to advance between the
previous notmuch new and the subsequent rm;notmuch new.

The current convention is to use the existing increment_mtime function
for this purpose, (which avoids the test suite being slowed down by
calls to sleep).

Thanks to Austin Clements for noticing this undesired sleep.
test/search-folder-coherence