From 03608312aee9990fb856ea5f865e3e918050ad21 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 31 Dec 2020 16:50:19 +0200 Subject: [PATCH] Fix process-tests on MS-Windows * test/src/process-tests.el (process-tests--fd-setsize-test): On MS-Windows start the pipe processes in the "stopped" condition. --- test/src/process-tests.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/src/process-tests.el b/test/src/process-tests.el index 24b09c56e2c..8d4516ff3b6 100644 --- a/test/src/process-tests.el +++ b/test/src/process-tests.el @@ -493,6 +493,13 @@ FD_SETSIZE." for ,process = (process-tests--ignore-EMFILE (make-pipe-process :name (format "pipe %d" i) + ;; Prevent delete-process from + ;; trying to read from pipe + ;; processes that didn't exit + ;; yet, because no one is + ;; writing to those pipes, and + ;; the read will stall. + :stop (eq system-type 'windows-nt) :buffer ,buffer :coding 'no-conversion :noquery t)) -- 2.39.5