test: emacs: call accept-process-output in notmuch-test-wait
authorTomi Ollila <tomi.ollila@iki.fi>
Sun, 5 Aug 2012 11:13:01 +0000 (14:13 +0300)
committerDavid Bremner <bremner@debian.org>
Wed, 29 Aug 2012 22:06:07 +0000 (19:06 -0300)
commitf791cc9247dfac8640c8896bad9d9c1a1e70edfc
tree64620543f026c67647b2fd94f45a862b1360bcb5
parent1f30f7d290f2989fba610c625e3cca6c6df1d118
test: emacs: call accept-process-output in notmuch-test-wait

notmuch-test-wait called sleep-for in a loop to wait unconditionally 0.1
seconds while waiting for process to exit.
accept-process-output returns as soon as there is any data available
from process, so using it avoids unnecessary fixed delays.
Both of these functions run process sentinels.
test/test-lib.el