aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test-lib.el
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-lib.el')
-rw-r--r--test/test-lib.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-lib.el b/test/test-lib.el
index 5dd6271c..52d99361 100644
--- a/test/test-lib.el
+++ b/test/test-lib.el
@@ -38,7 +38,7 @@
(defun notmuch-test-wait ()
"Wait for process completion."
(while (get-buffer-process (current-buffer))
- (sleep-for 0.1)))
+ (accept-process-output nil 0.1)))
(defun test-output (&optional filename)
"Save current buffer to file FILENAME. Default FILENAME is OUTPUT."