* tests/gnustest-nntp.el (gnustest-ping-host): Call 'sleep' binary
instead of using `sleep-for', as the latter does not seem to reliably
wait (see for instance bug 15990).
+2015-05-31 David Engster <deng@randomsample.de>
+
+ * tests/gnustest-nntp.el (gnustest-ping-host): Call 'sleep' binary
+ instead of using `sleep-for', as the latter does not seem to reliably
+ wait (see for instance bug 15990).
+
2015-05-29 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-art.el (gnus-button-alist): Re-revert last change.
2015-05-29 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-art.el (gnus-button-alist): Re-revert last change.
(let* ((ping-program-options '("-c" "1"))
(buf (ping host))
proc)
(let* ((ping-program-options '("-c" "1"))
(buf (ping host))
proc)
+ ;; sleep-for does not work correctly with async processes running
+ (call-process "sleep" nil nil nil "2")
(with-current-buffer buf
(accept-process-output (get-buffer-process (current-buffer)) 2)
(goto-char (point-min))
(with-current-buffer buf
(accept-process-output (get-buffer-process (current-buffer)) 2)
(goto-char (point-min))