From 6ea26cfb81c68526b157a213d00b593d4e7b1335 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 28 Jun 2011 17:06:15 -0700 Subject: [PATCH 1/1] 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). --- test/test-lib.sh | 2 ++ 1 file changed, 2 insertions(+) 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 } -- 2.43.0