mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
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).
This commit is contained in:
parent
eb4cf465a5
commit
6ea26cfb81
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue