From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4PImEFiFw2SANgAASxT56A (envelope-from ) for ; Fri, 28 Jul 2023 11:07:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aBT7D1iFw2TcQQEAauVa8A (envelope-from ) for ; Fri, 28 Jul 2023 11:07:36 +0200 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 DB08847994 for ; Fri, 28 Jul 2023 11:07:35 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=BCQZRLc0; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690535255; 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=I9W9FyhIJ95Mph0fqhq5YY9uFo78yhs9w2CLWEMR8cc=; b=kRVp+++T0WkW9QYO/GNEPzFEdKJDGN0+hhJuwpMtBLbIXWVFp04joTr8wz7ofLjRkKOjES G9SeQnZUKUmuRKAickgH7mpW8sBGfdNVafht9ODFCNb7gOhG4pzsRvw6uWbl32dVHGQiu3 oA3yg+um0aSVuYgjwZXJjN2tPsi7iRH0Dw+IsFRTVwbfHSzP49zxQADx6Pt5AfmQE10GDD Xj/9/90TrXU/IHNNM+Qi375pF7JOcvVwXfQAB4KZ9482A7OWSyP80n/2RDyVXBs1eMYhSG GveW+LVgk37+zLBK0RszNbhIgDeCnr2qE3puFExIN8U296BtLOZ78VGxf5wY5A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690535255; a=rsa-sha256; cv=none; b=Pmkz6uXImTTwZ7hAfSumzBdALSugoAJg69yihAhRy8Rt1DVIPWsAqhoX4JXOyxt+d52Slh ZPORd8EmN7oI86V/KdZ456nin3aKqQETfS80Hdl8DEFGXP/nd5Qk7EXZ6D/ERNDSrH3vvV brWlxk6XM0Y+9MlZFy7LdlQk810EEjr75Y4tDwkQlpGcHYuyrR/hbtezlBQcuRRhdK80Jk JfbsgL76uGqQr+5XFzBI/8rXfVohyUYQMhQmNc4VYmgdVGhUqWaj3LcFthi4aUoD+G9Wnz xrHHyha2oSdsdXbhXwSPMzqQ7Umc2BMaP2pbdF9pqzCwZ3+yqbufdDmF5B4NqQ== 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=BCQZRLc0; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qPJDc-00059H-BF; Fri, 28 Jul 2023 04:53:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qPJDa-00058g-Li for bug-guix@gnu.org; Fri, 28 Jul 2023 04:53:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qPJDa-0001n8-DH for bug-guix@gnu.org; Fri, 28 Jul 2023 04:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qPJDZ-0004p9-UY for bug-guix@gnu.org; Fri, 28 Jul 2023 04:53:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64760: [PATCH 2/3] tests: store-roots: Initial gc-roots should be empty. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 28 Jul 2023 08:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64760 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Josselin Poiret Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 64760@debbugs.gnu.org Received: via spool by 64760-submit@debbugs.gnu.org id=B64760.169053435218507 (code B ref 64760); Fri, 28 Jul 2023 08:53:01 +0000 Received: (at 64760) by debbugs.gnu.org; 28 Jul 2023 08:52:32 +0000 Received: from localhost ([127.0.0.1]:43606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qPJD5-0004oR-Md for submit@debbugs.gnu.org; Fri, 28 Jul 2023 04:52:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60204) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qPJD3-0004oF-1b for 64760@debbugs.gnu.org; Fri, 28 Jul 2023 04:52:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qPJCu-0001Xs-SL; Fri, 28 Jul 2023 04:52:21 -0400 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=I9W9FyhIJ95Mph0fqhq5YY9uFo78yhs9w2CLWEMR8cc=; b=BCQZRLc0GCwWz9SR3nVG LCYxMu+DfnvPXXQaotrpf9nCdZCQX+Aa5LR160Q+FPIXj89DXD3viaOooqdvFXbKYEUC7DoBjujMP 7gJe2Sn8MHfktwR90OPOgsrbj4Zlw4sYXqr3KvepdLjlWo8yrVpqEiwZblW0yA095XFVydso0Xghk wEXgLldjFKcohTNzmhLCS5rnUUdpZ/tAiT9/gffMuz+/ziPS8gNHRssQlV5ME8cd/NPsP/C9osN+C ylBWy+GZRRVRx3IW9qasnzV5zelkFErrM80V2VbRXFYwuJdYql9WqAHPxQsyLe7+PZCfN3d59PHWP uK3e+7vzCzy+GQ==; Received: from 2a02-a462-da03-1-aeb0-2f5e-e96a-dccb.fixed6.kpn.net ([2a02:a462:da03:1:aeb0:2f5e:e96a:dccb] helo=drakenpad.janneke.lilypond.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qPJCu-0008MS-Du; Fri, 28 Jul 2023 04:52:20 -0400 From: Janneke Nieuwenhuizen Organization: AvatarAcademy.nl References: <877cqtfu95.fsf@jpoiret.xyz> X-Url: http://AvatarAcademy.nl Date: Fri, 28 Jul 2023 10:52:16 +0200 In-Reply-To: (Josselin Poiret's message of "Fri, 21 Jul 2023 12:14:58 +0200") Message-ID: <87mszgcta7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.35 X-Spam-Score: -5.35 X-Migadu-Queue-Id: DB08847994 X-Migadu-Scanner: mx1.migadu.com X-TUID: M1/Ion6EZhxd Josselin Poiret writes: Hi! > * tests/store-roots.scm ("gc-roots, initial"): Set expected result to emp= ty. > Also do not error out if /profiles doesn't exist. > --- > tests/store-roots.scm | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/tests/store-roots.scm b/tests/store-roots.scm > index 9877987a65..d82a29e313 100644 > --- a/tests/store-roots.scm > +++ b/tests/store-roots.scm > @@ -31,10 +31,11 @@ (define %store #f) > (test-begin "store-roots") >=20=20 > (test-equal "gc-roots, initial" > - (list (string-append %state-directory "/profiles")) > + '() > (begin > ;; 'gc-roots' should gracefully handle lack of that directory. > - (delete-file-recursively (string-append %state-directory "/profiles"= )) > + (false-if-exception > + (delete-file-recursively (string-append %state-directory "/profiles= "))) > (gc-roots))) >=20=20 > ;; The 'open-connection' call below gets guix-daemon to create Just a headsup that this change breaks the store-roots test on the hurd for me. Greetings, Janneke --=20 Janneke Nieuwenhuizen | GNU LilyPond https://LilyPond.org Freelance IT https://www.JoyOfSource.com | Avatar=C2=AE https://AvatarAcade= my.com