From patchwork Thu Jan 20 13:08:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: M X-Patchwork-Id: 36648 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2831A27BBEA; Thu, 20 Jan 2022 18:26:37 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E69C827BBE9 for ; Thu, 20 Jan 2022 18:26:36 +0000 (GMT) Received: from localhost ([::1]:48282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAc8p-0005cC-3p for patchwork@mira.cbaines.net; Thu, 20 Jan 2022 13:26:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50744) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAXCU-0004EE-Vp for guix-patches@gnu.org; Thu, 20 Jan 2022 08:10:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35570) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAXCU-0006Pv-A1 for guix-patches@gnu.org; Thu, 20 Jan 2022 08:10:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nAXCU-0004sm-4N for guix-patches@gnu.org; Thu, 20 Jan 2022 08:10:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53389] [PATCH 6/9] tests/lint: Do not assume the next port is free. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Jan 2022 13:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53389 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53389@debbugs.gnu.org Cc: ludo@gnu.org, Maxime Devos Received: via spool by 53389-submit@debbugs.gnu.org id=B53389.164268415018658 (code B ref 53389); Thu, 20 Jan 2022 13:10:02 +0000 Received: (at 53389) by debbugs.gnu.org; 20 Jan 2022 13:09:10 +0000 Received: from localhost ([127.0.0.1]:56692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAXBR-0004q4-Pk for submit@debbugs.gnu.org; Thu, 20 Jan 2022 08:09:10 -0500 Received: from baptiste.telenet-ops.be ([195.130.132.51]:42064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAXBM-0004ox-Ds for 53389@debbugs.gnu.org; Thu, 20 Jan 2022 08:08:53 -0500 Received: from localhost.localdomain ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by baptiste.telenet-ops.be with bizsmtp id l18q2600H4UW6Th0118rNs; Thu, 20 Jan 2022 14:08:51 +0100 From: Maxime Devos Date: Thu, 20 Jan 2022 13:08:46 +0000 Message-Id: <20220120130849.292178-6-maximedevos@telenet.be> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220120130849.292178-1-maximedevos@telenet.be> References: <20220120130849.292178-1-maximedevos@telenet.be> MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1642684131; bh=i9YgSMUurJM9INaaW7UyPuvAQFGVrh2kXwxrlz1kUxU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=h7750ajniiJSHdPPzjQOQ9hBgpU8hQmmziZhiKnWaevOENPMxVBmlCKqer9Nuytu9 n3d7lLupjudwm2kJtCoGL+vFVug/m+d+CeUL0P6Ne8919k6uEgOXC1BxyMlIVGDQX+ Rk3u2nU8+dp2Zu9HTLKCDLhavyNdyGQt5Pt0W6H/SIcquWjtkPZRkqdzIxLDPPjIwq x/0QrcggB4X2NEiL838YCntdvewt3WH1nsFfnbrFtb/zMQjHNvVwNjagVWC0MpXl5v ZIiXkTIX2shK/bks0SQQ/q5iMjLAZJK9/l6BLR3fJY17qRy2CXxhSyy4iw67A3RW53 dVVRvfKVAiLQw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches This is a follow-up to commit 4aea90b1876179aab8d603a42533a6bdf97ccd3c. * tests/lint.scm ("source: 404 and 200"): Let (guix tests http) choose the ports to bind to. --- tests/lint.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lint.scm b/tests/lint.scm index 76c2a70b3a..00d494bd19 100644 --- a/tests/lint.scm +++ b/tests/lint.scm @@ -987,7 +987,7 @@ '() (with-http-server `((404 ,%long-string)) (let ((bad-url (%local-url))) - (parameterize ((%http-server-port (+ 1 (%http-server-port)))) + (parameterize ((%http-server-port 0)) (with-http-server `((200 ,%long-string)) (let ((pkg (package (inherit (dummy-package "x"))