projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb4cf46
)
test: Increment mtime when delivering a message with emacs_deliver_message
author
Carl Worth
<cworth@cworth.org>
Wed, 29 Jun 2011 00:06:15 +0000
(17:06 -0700)
committer
Carl Worth
<cworth@cworth.org>
Wed, 29 Jun 2011 00:10:55 +0000
(17:10 -0700)
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
patch
|
blob
|
history
diff --git
a/test/test-lib.sh
b/test/test-lib.sh
index 49522da8706e6f6c7ee6dbc8dc48e41f9eb0faef..7d39d27b1d210a11196ad5aec99644d388dc2798 100755
(executable)
--- 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
}