From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6MfXMYZMRGGbkwAAgWs5BA (envelope-from ) for ; Fri, 17 Sep 2021 10:06:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 8HRPLYZMRGHSRAAAbx9fmQ (envelope-from ) for ; Fri, 17 Sep 2021 08:06:30 +0000 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 46CB5FFA8 for ; Fri, 17 Sep 2021 10:06:30 +0200 (CEST) Received: from localhost ([::1]:46742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mR8tB-0004Dg-Au for larch@yhetil.org; Fri, 17 Sep 2021 04:06:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR8rn-0003bc-0e for guix-patches@gnu.org; Fri, 17 Sep 2021 04:05:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46858) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mR8rm-0007jj-Oe for guix-patches@gnu.org; Fri, 17 Sep 2021 04:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mR8rm-0001Lj-GA for guix-patches@gnu.org; Fri, 17 Sep 2021 04:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50359] [PATCH v3 1/3] tests: git: Don't read from the users global Git config file. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Sep 2021 08:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50359 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50359@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Sarah Morgensen Received: via spool by 50359-submit@debbugs.gnu.org id=B50359.16318658855123 (code B ref 50359); Fri, 17 Sep 2021 08:05:02 +0000 Received: (at 50359) by debbugs.gnu.org; 17 Sep 2021 08:04:45 +0000 Received: from localhost ([127.0.0.1]:58396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR8rV-0001KY-Hp for submit@debbugs.gnu.org; Fri, 17 Sep 2021 04:04:45 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:60980 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR8rT-0001KJ-Tz for 50359@debbugs.gnu.org; Fri, 17 Sep 2021 04:04:44 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1631865876; bh=zYxeRFVEIpLu7CKw5H+EQM5bjfyRX3CQxzCiN72vIBk=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=CIQAHIXJ4Lmcz9YUe7Eze+j3jth1E3c6bZxTyzBFkyZhe+jCoVyKd5b7Dz4jQfx26 JdbJ90nIswK8ECXowry+DsB49i8S7/jyfoM/IWu30q1xUc04OrJdqQYlxdgOAHQCcK tIH74I+3tAEGbFTF4PURb61JAyODWJSk1YQwR3P8= In-Reply-To: References: Message-Id: <981f87c7596e6eb62b49536224d76904c70ba022.1631865317.git.public@yoctocell.xyz> Date: Fri, 17 Sep 2021 10:04:36 +0200 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631865990; 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=XliT4fjd9dOtzAf5etQVcnCT5g0v1cCv26mLSZyQLZs=; b=kNERDYn1+2nys97vVvQcYBZDLk2rw35VBvi7vT4oREY0hTuPEuaXDr873vu391Ku7/y+kG mJ/7/DcNzvITEzXLY2P+GiUG0f5EgwZEZ1SVAxPWEOaplcYH6QXS7d3Geq+HsfpJwDqJ2c RekuWIulkNV8DjTXyQKL3oF1DVjA2MfTct62LBXSaIluGxewKmuOAEL3VDcSYGKoTUjLEj BiViK6OGMM4MOerAc6CgN7v1nYDh33BtnRwQdoY4Y71L7ekKt3WJeUD6fAAfpTv7prNN/T O5ERF5p+zYtSQ2oo/dqg0kvTsnBF/MdY0Vd5IT+wf2C/0CROHH7Rwpk7ZjCh4g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631865990; a=rsa-sha256; cv=none; b=OhSatLTSfNCKZ4UneL9PmadvDJYNY6b2wKUor/ogV4loOxfUauOMVLKBsmJThQbkWJy1rS kJe8wUeV//VRUvMt1eeFkPNc7Wl7opyH25xePi6QiT3XfHgJogv1ODX8ZSLBGcc7ehS+zk SS6pwmlCO7nErD/bt5wu6B+i5YBB04cis+6ralT63dY/dueREY7q43th3D/NjqP5bEf07P 1fMUn21IouhDqIqmgvo1SPs5Z4NOBLhUYTQN8dxw6FCl50eLIsFIbDHEgiPaD75oiUU9we Z27QmZcdxdQ21r0fzBN4eGLxG/9tQSgLMpyVXS1kA+VUKKiNvL6Hb33XfGq5wA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=CIQAHIXJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.30 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=CIQAHIXJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 46CB5FFA8 X-Spam-Score: -0.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: W8KNvdAu7KG2 * guix/tests/git (populate-git-repository): Set the GIT_CONFIG_GLOBAL environment variable to the temporary Git config file. --- guix/tests/git.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guix/tests/git.scm b/guix/tests/git.scm index b8e5f7e643..e11541e83b 100644 --- a/guix/tests/git.scm +++ b/guix/tests/git.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2019, 2020 Ludovic Court=C3=A8s +;;; Copyright =C2=A9 2021 Xinglu Chen ;;; ;;; This file is part of GNU Guix. ;;; @@ -53,6 +54,7 @@ Return DIRECTORY on success." (with-environment-variables `(("GIT_CONFIG_NOSYSTEM" "1") ("GIT_ATTR_NOSYSTEM" "1") + ("GIT_CONFIG_GLOBAL" ,(string-append home "/.gitconfig")) ("HOME" ,home)) (apply invoke (git-command) "-C" directory command args))))) --=20 2.33.0