emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 0326cdd: Fix process-tests on MS-Windows


From: Eli Zaretskii
Subject: master 0326cdd: Fix process-tests on MS-Windows
Date: Tue, 29 Dec 2020 13:42:34 -0500 (EST)

branch: master
commit 0326cddc7bb2a90924af200057b4e2ef263924c8
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-no-crash):
    Skip this test on windows-nt systems, as we cannot use more than
    FD_SETSIZE file descriptors there: if we try, we crash.
---
 test/src/process-tests.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/src/process-tests.el b/test/src/process-tests.el
index 464541a..3272044 100644
--- a/test/src/process-tests.el
+++ b/test/src/process-tests.el
@@ -389,6 +389,7 @@ See Bug#30460."
 (ert-deftest process-tests/fd-setsize-no-crash ()
   "Check that Emacs doesn't crash when trying to use more than
 FD_SETSIZE file descriptors (Bug#24325)."
+  (skip-unless (not (eq system-type 'windows-nt)))
   (with-timeout (60)
   (let ((sleep (executable-find "sleep"))
         ;; FD_SETSIZE is typically 1024 on Unix-like systems.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]