From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IPmFLlXiI2I9XQEAgWs5BA (envelope-from ) for ; Sat, 05 Mar 2022 23:21:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gKDWJlXiI2LjMQAAG6o9tA (envelope-from ) for ; Sat, 05 Mar 2022 23:21:09 +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 105A41EA2F for ; Sat, 5 Mar 2022 23:21:09 +0100 (CET) Received: from localhost ([::1]:58874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nQclw-000654-2o for larch@yhetil.org; Sat, 05 Mar 2022 17:21:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQclq-00063o-Lk for guix-patches@gnu.org; Sat, 05 Mar 2022 17:21:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55403) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nQclq-0000J9-D2 for guix-patches@gnu.org; Sat, 05 Mar 2022 17:21:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nQclq-0004sK-9T for guix-patches@gnu.org; Sat, 05 Mar 2022 17:21:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54180] [PATCH 00/12] Home: Clarify and better test symlink-manager.scm Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Mar 2022 22:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54180 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: 54180@debbugs.gnu.org Received: via spool by 54180-submit@debbugs.gnu.org id=B54180.164651884218689 (code B ref 54180); Sat, 05 Mar 2022 22:21:02 +0000 Received: (at 54180) by debbugs.gnu.org; 5 Mar 2022 22:20:42 +0000 Received: from localhost ([127.0.0.1]:49300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQclW-0004rN-AF for submit@debbugs.gnu.org; Sat, 05 Mar 2022 17:20:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQclU-0004rB-Tm for 54180@debbugs.gnu.org; Sat, 05 Mar 2022 17:20:41 -0500 Received: from [2001:470:142:3::e] (port=36906 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQclP-0000G6-Mm; Sat, 05 Mar 2022 17:20:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=OM4Pmyz7is18J+b9m+Suec65UNzD/eDrGyXAXf2YjR0=; b=OPWNntpsWaUO9ap9WEkD hhTw5s+7MG7nz55V7CdyxjdbVV+y4FugEys3koKdWsRdtkev1iz9jgBqBe/fthqlgrzH+E1qeLGCQ uarXVt1fZlBdBU7w0vU3SYdKH+IUI01lDxAV3wdkSBn+9Dc1UZuqRGQBaFSyvfO6pecBHreIHt3Q3 UZSGwVfrh3faHYVvc3FTPHpi91eOr+1A1DMhMpdqSxUcR6t3uXxoKApfsmoMFKcgDUZKX1rgPCPzp ikY0mGJBjjbk4idGk1KH+gs0aZbDQAAaAaPP83G7aaCaUdkJPJabk3dhSY0za8uTxcpFBfPYrJpQj r0WDqh7uXkxjjw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:50128 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQclM-0004Su-G1; Sat, 05 Mar 2022 17:20:35 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20220227135342.10296-1-ludo@gnu.org> <20220227135342.10296-9-ludo@gnu.org> Date: Sat, 05 Mar 2022 23:20:31 +0100 In-Reply-To: (Maxime Devos's message of "Sun, 27 Feb 2022 16:49:29 +0100") Message-ID: <87a6e4m47k.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-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=1646518869; 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:dkim-signature; bh=OM4Pmyz7is18J+b9m+Suec65UNzD/eDrGyXAXf2YjR0=; b=CD3tv0Fgo6mHpVaRsmp2vwpBxq9I1n+8NsDvFBb6/BIDyiauVXQgW4chvTND8HSz/IqsOI cuSERaYr5MVdIvWrY6I/IMF7+xY57X6ncuULA2FD9IxVgJX96KWW9CF9qQTjZVCesyHRdk /55pIQYnYz3YTrmiLKoDficmwxrKj7CLhlDBFqGRU9X6uNRQBJIDRp3LOY9L920NGQlyte OJmBepJSVPbHDwiJjpYbZdElvGj9TliUlbjYilYFnWKJpQhrLvlXRP8xJ77Lixb5dcGxs0 dkFO0jy++guil5cC59i4VgOyNdwFBx+95Fv+D8zN1aFLdSvHapKtMVWNmpRVag== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646518869; a=rsa-sha256; cv=none; b=pKQW2BxYWhoIWWK5UapMQdasUaR156lyqL0WmgdDcXIsF8cuKOSo9T5n6h/nyiUYbzWrYA p7cLNG80MSg5tdBz1WM2RVJjhPIlX8t8iFbBcthzn50ppD5PztT+gINR1soO+TNBVaugQ8 ntwi7s2nFistDFNM9QJXGKHSl/j010cYDcL6cm1vVNuzAHQFJWRv6z4ENj/aN2SpuJgDbT bQpBWi/SJ0ZsX1SjZCW1TtUZ9S7e4R46lqfNYzXMgRsFNGSpCxKjerDxgT6IW3k0J+DDza Z9RfQBivvT+UqvSMX09Xy1EtjTzbq7MHJ4/QcXEOfRvX9yyxs55kKe7V7OOaaA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=OPWNntps; 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: -4.14 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=OPWNntps; 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: 105A41EA2F X-Spam-Score: -4.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: +SVJpDZ9zbdA Maxime Devos skribis: > Ludovic Court=C3=A8s schreef op zo 27-02-2022 om 14:53 [+0100]: >> * tests/guix-home.sh: Invoke "guix home reconfigure" a second time with >> a modify config file and check the result. > > Something I don't understand, is why these tests are bash scripts in > the first place. > > Wouldn't Scheme code suffice and be easier to reason about? For > example, Scheme code would avoid repeating the complicated code for > starting a daemon and making sure it exits in every .sh test. It=E2=80=99s useful to have integration tests that exercise the commands; u= nit tests would also be welcome, but that=E2=80=99s what we have so far.