From: Carl Worth Date: Wed, 29 Jun 2011 00:06:15 +0000 (-0700) Subject: test: Increment mtime when delivering a message with emacs_deliver_message X-Git-Tag: 0.7_rc1~41 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/notmuch.git/commitdiff_plain/6ea26cfb81c68526b157a213d00b593d4e7b1335 test: Increment mtime when delivering a message with emacs_deliver_message Without this, mail messages delivered by emacs_deliver_message might not be seen by the next invocation of "notmuch new", (which can lead to test-suite failures if emacs_deliver_message is fast enough). --- diff --git a/test/test-lib.sh b/test/test-lib.sh index 49522da8..7d39d27b 100755 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -409,6 +409,8 @@ emacs_deliver_message () $@ (message-send-and-exit))" >/dev/null 2>&1 wait ${smtp_dummy_pid} + increment_mtime "$MAIL_DIR"/sent/cur + increment_mtime "$MAIL_DIR"/sent/new notmuch new >/dev/null }