summaryrefslogtreecommitdiff
path: root/test/src/process-tests.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2020-12-29 20:41:46 +0200
committerEli Zaretskii <eliz@gnu.org>2020-12-29 20:41:46 +0200
commit0326cddc7bb2a90924af200057b4e2ef263924c8 (patch)
treeb3c26d42b11e8137cb362025f7ce930fbcf25b39 /test/src/process-tests.el
parent3e80653d2970872c1b7cbd46cc9c5f7b289ca672 (diff)
downloademacs-0326cddc7bb2a90924af200057b4e2ef263924c8.tar.gz
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.
Diffstat (limited to 'test/src/process-tests.el')
-rw-r--r--test/src/process-tests.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/src/process-tests.el b/test/src/process-tests.el
index 464541a9387..3272044afcc 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.