From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 oPubLBqeG2LN1wAAgWs5BA (envelope-from ) for ; Sun, 27 Feb 2022 16:51:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oBoRKhqeG2IBFQAA9RJhRA (envelope-from ) for ; Sun, 27 Feb 2022 16:51:54 +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 81AE438241 for ; Sun, 27 Feb 2022 16:51:54 +0100 (CET) Received: from localhost ([::1]:40958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nOLpx-0008Dy-Bj for larch@yhetil.org; Sun, 27 Feb 2022 10:51:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOLoA-0006jM-EF for guix-patches@gnu.org; Sun, 27 Feb 2022 10:50:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36791) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nOLoA-00033q-4w for guix-patches@gnu.org; Sun, 27 Feb 2022 10:50:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nOLoA-0008BJ-3J for guix-patches@gnu.org; Sun, 27 Feb 2022 10:50:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54180] [PATCH 09/12] tests: Check 'guix home reconfigure' for a second generation. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Feb 2022 15:50: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: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 54180@debbugs.gnu.org Received: via spool by 54180-submit@debbugs.gnu.org id=B54180.164597697331355 (code B ref 54180); Sun, 27 Feb 2022 15:50:02 +0000 Received: (at 54180) by debbugs.gnu.org; 27 Feb 2022 15:49:33 +0000 Received: from localhost ([127.0.0.1]:58904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOLnh-00089f-28 for submit@debbugs.gnu.org; Sun, 27 Feb 2022 10:49:33 -0500 Received: from xavier.telenet-ops.be ([195.130.132.52]:47378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOLnf-00089X-Cl for 54180@debbugs.gnu.org; Sun, 27 Feb 2022 10:49:31 -0500 Received: from [192.168.158.254] ([188.188.52.46]) by xavier.telenet-ops.be with bizsmtp id 0FpV2700G0zovbQ01FpWzS; Sun, 27 Feb 2022 16:49:30 +0100 Message-ID: From: Maxime Devos Date: Sun, 27 Feb 2022 16:49:29 +0100 In-Reply-To: <20220227135342.10296-9-ludo@gnu.org> References: <20220227135342.10296-1-ludo@gnu.org> <20220227135342.10296-9-ludo@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-vTYwIDV/LouJ98JK4b6/" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1645976970; bh=Gk33OqqhBVwFKIUc8zVsTFfiaIxLMyTq903X+YE+UuY=; h=Subject:From:To:Date:In-Reply-To:References; b=mxv93ds5Y7P4dQGgYr6cQhVPUfwPIF0ZKeo+He6smcyThChqWjsIEFsh995iLG8O/ caDUPI2sTcitHeiwz6KQHthKplAU5/gIJYSWY10G9LpGbhkKRz2D89FpMHdKmUYBzV Nr+klx2CyzG1PMb6tbChWhFdrfuG0QdpbznF1jbyimhhZnr/di9ldhafr0+d6nwpuH P0rtAEf8RNu/3Yk8uYsDbnWlNJwdYFGcJ53eRAIWY6fWfloaFUmSAuOykuePsDqHXA Qkkwso8YH+Pqy12wGwauYVCg0ZifOGvvEo40pPx8eAL2+NdU1aAV/qP6QzCBhNNrzb hpu6Y0u1z6BpA== 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=1645977114; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=Gk33OqqhBVwFKIUc8zVsTFfiaIxLMyTq903X+YE+UuY=; b=iPtGIGE9S1tJrCFC+Vvn3FXxSPw/jPh/kKpdfbRPbO+gN/iLiT3b1YT0QKhC9vaeQnaIds suMpI1yHdawFXIqYJUCvG8v50FXHYKhuczsoxP4glWDJK1b5XU7RcwNH2GVuyIBp2mSDwA Bll3hCd+HhUHQVLSmja79dHmq7aVJO3BUaVsDceo6ZJbm/oOVLSh252gZNSE+g6yS0K7W6 oqO6isgCL+rhZTQEXtVRIiJPB9ZWh9zJ+fImAXBdjsCSMcDtrBHsF7rwKjrzIzU0IrmWOH dKibv0Hp0Pk/ZRNdAX1gEwzpNvZJLAS0sdTgCLxOJwFsr0etgyJw2IBr5ePLjw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645977114; a=rsa-sha256; cv=none; b=i0tLRcsw5NdLeUOKAW7sttgy9tvqr5gtDxQvHejaytPGESjM6B6OkqwwLNBgV78sesBDHA rk98hWpWR/ls6TguO2FUA5DS1TlENiRiQKYM6y27zpST8Br1C9nPJCUyep7tMnLqzg7euX Qf+sWyoqPy8wDHprcCU95eC8JjmQSMcTf040Nzor0Foh3SjjMEXSelTHj3+11G0h5Z8Rfv be0GPLcGOus6RrvY/GWqkReLAePINTJqOtqkoUxj9vrdYmUz6BaJbtOrHmd7BGYUpqXakO rPDx7ffX4+3ced2wNGUBhaQd6MLtSLiAeNJIMd9pXEryq4ahbtgYKPLbsx0bhg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=mxv93ds5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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: 2.39 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=mxv93ds5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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: 81AE438241 X-Spam-Score: 2.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: Ipl+vc5INOh8 --=-vTYwIDV/LouJ98JK4b6/ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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. Greetings Maxime. --=-vTYwIDV/LouJ98JK4b6/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYhudiRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7q+iAP9B5gMixK+bbCJVsJHFqQMvQB8D n2yvBg/s4K2zWOkGAAEAxDjHMuHEGj+tkFTzB/5yKBQpgb4OLu9pkqLUyuFECQk= =bEX3 -----END PGP SIGNATURE----- --=-vTYwIDV/LouJ98JK4b6/--