From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KHk3LCuFG2IIdQEAgWs5BA (envelope-from ) for ; Sun, 27 Feb 2022 15:05:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id COaSKSuFG2KWuQAA9RJhRA (envelope-from ) for ; Sun, 27 Feb 2022 15:05:31 +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 6178439871 for ; Sun, 27 Feb 2022 15:05:31 +0100 (CET) Received: from localhost ([::1]:46494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nOKB0-0007HA-JW for larch@yhetil.org; Sun, 27 Feb 2022 09:05:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50670) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOK0w-0000WQ-8x for guix-patches@gnu.org; Sun, 27 Feb 2022 08:55:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35056) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nOK0v-0001t3-Jw for guix-patches@gnu.org; Sun, 27 Feb 2022 08:55:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nOK0v-0004uT-Ix for guix-patches@gnu.org; Sun, 27 Feb 2022 08:55:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54180] [PATCH 08/12] tests: Simplify use of 'local-file' in 'tests/guix-home.sh'. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Feb 2022 13:55:05 +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: 54180@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 54180-submit@debbugs.gnu.org id=B54180.164597006918746 (code B ref 54180); Sun, 27 Feb 2022 13:55:05 +0000 Received: (at 54180) by debbugs.gnu.org; 27 Feb 2022 13:54:29 +0000 Received: from localhost ([127.0.0.1]:57172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOK0L-0004sC-0G for submit@debbugs.gnu.org; Sun, 27 Feb 2022 08:54:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOK0B-0004qM-ER for 54180@debbugs.gnu.org; Sun, 27 Feb 2022 08:54:20 -0500 Received: from [2001:470:142:3::e] (port=50242 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 1nOJzz-0001Zi-Q1; Sun, 27 Feb 2022 08:54:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=uwkm38vquwJo7BaR1mNPNzxsggoICWpBcwabRkBK9kU=; b=SoL2WtDHSyakriqd4LUq hWWEEzOxnKbaU/DYJ4pediTZTmjAKpH3IIhj6eFnVQpOS68LyYp9Lr3ZbGhOhHZAyuHViYdXQGmMi lKlW/YYcfQ27twDF/aMPS1D/p0rbdXh+GPgVVufesXnnbuxNiTXuy5/XAK4DMJZXc6DYZo7JQ8FS+ 9wXYMfZePvDIz9kQuJg5WUYzAx3uWO5xo7FFZOlRBbjyHOI04gnGBwKlQk3Owqj4FUoVw9/0lFbOq G7A1OUhbSOgcYhmpf249XG4NsPvyMErAXcoy4f2WQdN13YRJRNhlWaqmBG1IrNeHui/15K8gZ4x1j MNv+RGVROZxN8A==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:55804 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nOJzw-0007Pg-SH; Sun, 27 Feb 2022 08:54:05 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Sun, 27 Feb 2022 14:53:38 +0100 Message-Id: <20220227135342.10296-8-ludo@gnu.org> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220227135342.10296-1-ludo@gnu.org> References: <20220227135342.10296-1-ludo@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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=1645970731; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=uwkm38vquwJo7BaR1mNPNzxsggoICWpBcwabRkBK9kU=; b=b5K68pSXF7KNzCIbgL4FonEMkYp5ROi+Ges8nyZArZ+G5s2DyV681JvswIKc4RaIJCDSfe Xqn9BTqBYoFbLWewEp/5arGMvDolaGaySuXA/XJVMLFyE1wyQwN+iX2FrMBURlMsRcksYa nbDU7ynd8yYRVGaVH+mf2pB2Fzq92ryjvwMUSnewLpxAphFEZOeJnWsD5+WDBioiLRRVhA zB2ZKKi+8anweQEb5svLOUeil1LsTBdZI/bvSB7lKXwyvrFCA0ovJZBrw8JnOCcDdQin0d 51jb3IH0YqXWtKezOcFVXtjfO0ANqFYyHm+XCh7Upcr8sHeRU0huqkFBSD6/VQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645970731; a=rsa-sha256; cv=none; b=au1AxWbomAaTGra4ydDB5KkGdGJ8HxX9uzqsT37yyS20yuiOM1+4JRTxC3tP8Qz+qZKwaV iZ485F7sdmF+3aKr+SEXr3it2BnB+mHxw2xhI/i8TSbp3unXBOSwS8lrDv7DzhxNayfpkl +fzzOogXFW+vb1JJQVKBxXzmNrph4b3uBmwZF4tCYOmpLWkZfr6/I1rZ6eUPYYFxg1Kq4T +I30kFRTSMOHH1ZYhTgNhPlUiVbzGiwSQgVPXjL1vRjeKYQJyJpkVvKRYg7hwlSz0bv2jO FFUt+u/+alixAyV+ypSdurGbt2ZCYoDroJgHtsTLStLs2SLbpkbBSKYkZk1KcQ== 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=SoL2WtDH; 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: -2.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=SoL2WtDH; 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: 6178439871 X-Spam-Score: -2.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: cZPnaiGXrLzf * tests/guix-home.sh: Remove 'current-filename' trickery since 'local-file' resolves file names relative to the containing file. --- tests/guix-home.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/guix-home.sh b/tests/guix-home.sh index ae3e52c9e1..3b397649cc 100644 --- a/tests/guix-home.sh +++ b/tests/guix-home.sh @@ -81,10 +81,7 @@ trap 'chmod -Rf +w "$test_directory"; rm -rf "$test_directory"' EXIT (service home-bash-service-type (home-bash-configuration (guix-defaults? #t) - (bashrc - (list - (local-file (string-append (dirname (current-filename)) - "/dot-bashrc")))))) + (bashrc (list (local-file "dot-bashrc"))))) (simple-service 'home-bash-service-extension-test home-bash-service-type -- 2.34.0