From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0C35D138350 for ; Sat, 18 Jan 2020 13:09:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C18BBE085B; Sat, 18 Jan 2020 13:09:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A6ACFE085B for ; Sat, 18 Jan 2020 13:09:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9DCE334E1E3 for ; Sat, 18 Jan 2020 13:09:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 98AF595 for ; Sat, 18 Jan 2020 13:09:35 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1579352729.87aee5be6981ecf3dc30614f273488ab3a87bde9.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: tests/ X-VCS-Repository: proj/portage-utils X-VCS-Files: tests/init.sh.in X-VCS-Directories: tests/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 87aee5be6981ecf3dc30614f273488ab3a87bde9 X-VCS-Branch: master Date: Sat, 18 Jan 2020 13:09:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3e58e4db-0918-48ec-b9b1-1595c37174f3 X-Archives-Hash: 2db88bdd8fb9375e933e4a329563ad08 commit: 87aee5be6981ecf3dc30614f273488ab3a87bde9 Author: Fabian Groffen gentoo org> AuthorDate: Sat Jan 18 13:05:29 2020 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Sat Jan 18 13:05:29 2020 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=87aee5be tests/init.sh: clear PORTDIR from env Portage seems to inject PORTDIR (with a weird value) in the environment. This shows up during make check on some systems. (Bug #701402.) Always remove it from the environment to avoid interference. Bug: https://bugs.gentoo.org/701402 Signed-off-by: Fabian Groffen gentoo.org> tests/init.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/init.sh.in b/tests/init.sh.in index 7f5db06..5ffc7ef 100644 --- a/tests/init.sh.in +++ b/tests/init.sh.in @@ -22,7 +22,7 @@ setup_env() { setup_env # clean any random vars from the host system -unset ROOT PORTAGE_CONFIGROOT PORTAGE_QUIET +unset ROOT PORTAGE_CONFIGROOT PORTAGE_QUIET PORTDIR # but make sure we don't implicitly rely on user's setup export PORTAGE_CONFIGROOT="${ab}/not/a/real/path" # Always use UTC for timestamps to keep tests stable. #551806