[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 0360831: Fix process-tests on MS-Windows
From: |
Eli Zaretskii |
Subject: |
master 0360831: Fix process-tests on MS-Windows |
Date: |
Thu, 31 Dec 2020 09:51:34 -0500 (EST) |
branch: master
commit 03608312aee9990fb856ea5f865e3e918050ad21
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
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 24b09c5..8d4516f 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))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 0360831: Fix process-tests on MS-Windows,
Eli Zaretskii <=