[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 16bb108: Add a regression test for Bug#24325.
From: |
Michael Albinus |
Subject: |
Re: master 16bb108: Add a regression test for Bug#24325. |
Date: |
Tue, 29 Dec 2020 18:55:51 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
p.stephani2@gmail.com (Philipp Stephani) writes:
Hi Philipp,
> +(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)."
> + (let ((sleep (executable-find "sleep"))
> + ;; FD_SETSIZE is typically 1024 on Unix-like systems.
> + (fd-setsize 1024)
This could be determined by "ulimit -n" or "getconf OPEN_MAX".
Best regards, Michael.
- Re: master 16bb108: Add a regression test for Bug#24325.,
Michael Albinus <=