From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: master 16bb108: Add a regression test for Bug#24325. Date: Mon, 04 Jan 2021 18:24:23 +0100 Message-ID: <87czyk39a0.fsf@gmail.com> References: <20201229172038.13382.38744@vcs0.savannah.gnu.org> <20201229172040.85BB72094D@vcs0.savannah.gnu.org> <87bleca448.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12831"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Philipp Stephani , Michael Albinus , Emacs developers To: Philipp Stephani Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 04 18:26:22 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kwTcb-0003ET-S5 for ged-emacs-devel@m.gmane-mx.org; Mon, 04 Jan 2021 18:26:21 +0100 Original-Received: from localhost ([::1]:36666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwTca-0007E0-TB for ged-emacs-devel@m.gmane-mx.org; Mon, 04 Jan 2021 12:26:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwTam-0005Xz-97 for emacs-devel@gnu.org; Mon, 04 Jan 2021 12:24:28 -0500 Original-Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:39449) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kwTak-0004El-RD for emacs-devel@gnu.org; Mon, 04 Jan 2021 12:24:27 -0500 Original-Received: by mail-wm1-x32e.google.com with SMTP id 3so20067246wmg.4 for ; Mon, 04 Jan 2021 09:24:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=jYZRp3EGgfsyYpuzT0CaA7cI9exCn7JgwiMv1y2l27g=; b=hc3iLQYe0RukFqeLAkUUdXMMwJS7auZ69UNhh9rGbWPoWXXf8Txd6txA0GzKIw/T/F VJSy/5A80CzOKOylBnf24oJoD7BDb+BnFoG+alF3ANSnggM4rlcM6eLVSHCecjiiBU+n bgBlKmyAErPhFu9W+kfDIKkupCzKrNt99Hv3T43zifAMUfussn0xtDbb0ro6Y6f0kXoM n2qPtR0pc2mWAIi2g60b/ZHQwtPmQHEipw+CBou1l9qrxxeUxG1f23tqHZilTxHpQXXV +mYlRYH43jlC+FgPomKybE3qjfaVnqxS7Rrj4CZTZnaD1imRbh1/215WcXn183tYkrSR ZwKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=jYZRp3EGgfsyYpuzT0CaA7cI9exCn7JgwiMv1y2l27g=; b=J3CpQcOSs8ACcVhT8l6ipOkGRWNGU3o4tnuouKs93FWETD1NEHnyV2BzB1rw1np4Kb yGv//vuQfhptDyx12ZI91jwC1jYYd7lYjUGGuwm6Q7IbAFFxPwA615hMM3CMjXI4oRsW MxOj7xw8LmDliJ96VQ431BZFGOrYatHDLr9ylX6uIur4l9YLqP8XihpeK1ZVecVGc61U Rq+cF+0SMt9e6YTDSbRx7BtlYEXAQZRnRNyQxkMlw4af8derifCWA/866uFEhCBHJ0+R /OF55XcWjVflbPt7Z91RmZWSUyWS2wgKvHO+rnoqhCy2ditD5eQFzdWvaKUbmv7XuMKS NzAw== X-Gm-Message-State: AOAM530oEuafbEha5VezRcEHGpB/fQrZwQUhQtGCNgN0xwYIRb5KVmRl K+ePpUlrcwSOnogP7OV7moGhOdbUqFs= X-Google-Smtp-Source: ABdhPJy99ar/wzE+llc7aGzyGuR8Ga6u0bIDyCwRKGCsEFigOEsZSA0KbNdZobW7d5S8Ha/OczTuvQ== X-Received: by 2002:a1c:5459:: with SMTP id p25mr26615231wmi.19.1609781064953; Mon, 04 Jan 2021 09:24:24 -0800 (PST) Original-Received: from rltb (vav06-1-78-207-202-134.fbx.proxad.net. [78.207.202.134]) by smtp.gmail.com with ESMTPSA id l11sm91927008wrt.23.2021.01.04.09.24.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jan 2021 09:24:24 -0800 (PST) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: (Philipp Stephani's message of "Tue, 29 Dec 2020 19:10:55 +0100") Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=rpluim@gmail.com; helo=mail-wm1-x32e.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:262454 Archived-At: Philipp Stephani writes: > Am Di., 29. Dez. 2020 um 18:56 Uhr schrieb Michael Albinus > : >> >> 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". >> > > That's a different limit (resource limit vs. size of a file descriptor se= t). It=CA=BCs possible to raise FD_SETSIZE at compile time on macOS (to 4096 if memory serves), so the only reliable way to test this is to expose FD_SETSIZE to lisp. poll(2) anyone? ;-) Robert