X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Ftest-lib.el;h=52d993617ff0d910e9abcb5d60564e5bc8dc602a;hp=5dd6271c99dceb16417d947b87a731874d7c7c72;hb=f791cc9247dfac8640c8896bad9d9c1a1e70edfc;hpb=f94a50d80af8c2a5513e58db954dd0b1910eb4a8 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."