diff options
| author | Eli Zaretskii | 2020-12-29 20:41:46 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2020-12-29 20:41:46 +0200 |
| commit | 0326cddc7bb2a90924af200057b4e2ef263924c8 (patch) | |
| tree | b3c26d42b11e8137cb362025f7ce930fbcf25b39 /test/src/process-tests.el | |
| parent | 3e80653d2970872c1b7cbd46cc9c5f7b289ca672 (diff) | |
| download | emacs-0326cddc7bb2a90924af200057b4e2ef263924c8.tar.gz emacs-0326cddc7bb2a90924af200057b4e2ef263924c8.zip | |
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.el | 1 |
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." | |||
| 389 | (ert-deftest process-tests/fd-setsize-no-crash () | 389 | (ert-deftest process-tests/fd-setsize-no-crash () |
| 390 | "Check that Emacs doesn't crash when trying to use more than | 390 | "Check that Emacs doesn't crash when trying to use more than |
| 391 | FD_SETSIZE file descriptors (Bug#24325)." | 391 | FD_SETSIZE file descriptors (Bug#24325)." |
| 392 | (skip-unless (not (eq system-type 'windows-nt))) | ||
| 392 | (with-timeout (60) | 393 | (with-timeout (60) |
| 393 | (let ((sleep (executable-find "sleep")) | 394 | (let ((sleep (executable-find "sleep")) |
| 394 | ;; FD_SETSIZE is typically 1024 on Unix-like systems. | 395 | ;; FD_SETSIZE is typically 1024 on Unix-like systems. |