From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2GZrFK++6WGhfwAAgWs5BA (envelope-from ) for ; Thu, 20 Jan 2022 20:57:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ADwHEq++6WEIYgEA9RJhRA (envelope-from ) for ; Thu, 20 Jan 2022 20:57:35 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EB24E46825 for ; Thu, 20 Jan 2022 20:57:34 +0100 (CET) Received: from localhost ([::1]:41898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAdYq-00032l-V8 for larch@yhetil.org; Thu, 20 Jan 2022 14:57:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAZ6c-0004c5-H1 for guix-patches@gnu.org; Thu, 20 Jan 2022 10:12:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37841) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAZ6X-00086l-QO for guix-patches@gnu.org; Thu, 20 Jan 2022 10:12:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nAZ6X-00038e-L0 for guix-patches@gnu.org; Thu, 20 Jan 2022 10:12:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53389] [PATCH 0/9] Replace some mocking with with-http-server*, avoid hardcoding ports, Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Jan 2022 15:12:01 +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: Maxime Devos Cc: 53389@debbugs.gnu.org Received: via spool by 53389-submit@debbugs.gnu.org id=B53389.164269148812013 (code B ref 53389); Thu, 20 Jan 2022 15:12:01 +0000 Received: (at 53389) by debbugs.gnu.org; 20 Jan 2022 15:11:28 +0000 Received: from localhost ([127.0.0.1]:58977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAZ5z-00037f-HM for submit@debbugs.gnu.org; Thu, 20 Jan 2022 10:11:27 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:51326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAZ5x-00037R-Vu for 53389@debbugs.gnu.org; Thu, 20 Jan 2022 10:11:26 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 486B54FD; Thu, 20 Jan 2022 16:11:19 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L0v2azbedg7D; Thu, 20 Jan 2022 16:11:18 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id F2F10224; Thu, 20 Jan 2022 16:11:17 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <6b1c1d98514b2547907a81a04c1241d9b865d6fa.camel@telenet.be> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 1 =?UTF-8?Q?Pluvi=C3=B4se?= an 230 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 20 Jan 2022 16:11:17 +0100 In-Reply-To: <6b1c1d98514b2547907a81a04c1241d9b865d6fa.camel@telenet.be> (Maxime Devos's message of "Thu, 20 Jan 2022 13:59:16 +0100") Message-ID: <87czkm788a.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: 486B54FD X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642708655; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=Iux2GGwXLy7oSaS1LcZ9b/YZ4CEzks5biFE3zXumz8c=; b=Qwkj/JRwTkJGbvbCjZMKDuvgD6PQgEDODprgGueUKilbm31cvvubhP9FE8Wz+jMHa5I74K OtaVPiYZcgvp34Iy7gPJU3OumlW5cGfXKEkn27MSlEhwG+Ub4QHlyul2xHYIAW+MPAEs8d tQioMsVYZ+0D+3z9pF6nYTzgrbgXcl0rjco7xI/X5W6bKiBQ+xT51/2zZBGzPakLp0jy5m Nx36biixwLelSxviF1mGEjr9vmz+JtMUTod+wl+p5qMud3ic+wn01vtIp1foGuw6tmlxra GCghf8QYyDyav2ETgGoggfqLRDljA7WaGZEKkojIKNIYl0sE2+SaBY9QeiZnOw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642708655; a=rsa-sha256; cv=none; b=RFXjUuqYw4i8cPc2t+/HJHPvAwkt8j0IX0gUwerAm1SKbvDlNIbX6PTArmddSNI8bhfc82 sj4A0AiMnVs3lYfKfqDyvcP18OY+uGAUe79NsEkc7RBSFRFjGpsaKLK8UrJ9xT+q/BPx8O yut13VBo0SOaSVyf9Ca6fxTFGhl+vsQMlQ1csiE7kEIzLJpRZvNlYVD9aVs2oouRBtrxzE +DpqV4BylFyMwSQ/7bflY064lCiycTR3OCb+W1DUFtCG6aVL/w5v3Ct9/1xum7NjvZfiFA o/+IKK/00EK6OxBgOx2eB4R1iRx6brbJ4tmrUVbQNB0eNBWKBkY/VUB0zTLq4A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.92 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EB24E46825 X-Spam-Score: -3.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: VkfuFTkNC7GG Hi, Maxime Devos skribis: > (see .) > > by extending with-http-server to with-http-server* to allow arbitrary > request handlers and extending with-http-server to allow verifying the > URI of a request. > > tests/cpan.scm has been modified to verify the URIs. > tests/import-github.scm and tests/minetest.scm have been modified to > avoid mocking. Great, I=E2=80=99ll take a look. > Somewhat unrelated, tests/lint.scm, tests/cpan.scm and > tests/challenge.scm have been modified to avoid hard coding ports, > as a follow-up to commit c05ceaf2b650d090cf39a048193505cb4e6bd257: > > [...] > Previously, test cases could fail if some process was listening > at a hard-coded port. This patch eliminates most of these > potential failures, by automatically assigning an unbound port.=C2=A0 > This should allow for building multiple guix trees in parallel > outside a build container, though this is currently untested. > [...] > > After this patch series, there's to my knowledge only one instance of > hardcoded ports remaining, in tests/lint.scm ("home-page: Connection > refused"). That=E2=80=99s a much welcome change. Thank you! Ludo=E2=80=99.