diff options
author | Carl Worth <cworth@cworth.org> | 2011-06-28 17:06:15 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2011-06-28 17:10:55 -0700 |
commit | 6ea26cfb81c68526b157a213d00b593d4e7b1335 (patch) | |
tree | c0f4c2ec42e510cc32a9b434093c8b82f902ce73 /test/test-lib.sh | |
parent | eb4cf465a5c179c711c15649fc90c7377850cb77 (diff) |
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).
Diffstat (limited to 'test/test-lib.sh')
-rwxr-xr-x | test/test-lib.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-lib.sh b/test/test-lib.sh index 49522da..7d39d27 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 } |