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 69280139337 for ; Sun, 1 Aug 2021 09:51:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A928BE08DD; Sun, 1 Aug 2021 09:51:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 85DB0E08DD for ; Sun, 1 Aug 2021 09:51:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 6432634357E for ; Sun, 1 Aug 2021 09:51:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EF14678A for ; Sun, 1 Aug 2021 09:51:26 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1627811455.23a5480394d2202081f76a1bf78b3785e7f3a4c6.ulm@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/functions/src_test/ X-VCS-Repository: proj/devmanual X-VCS-Files: ebuild-writing/functions/src_test/text.xml X-VCS-Directories: ebuild-writing/functions/src_test/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 23a5480394d2202081f76a1bf78b3785e7f3a4c6 X-VCS-Branch: master Date: Sun, 1 Aug 2021 09:51:26 +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: 2189a5ad-d7d7-426d-a9b3-657f134ba4c3 X-Archives-Hash: 3c003765c80cb5544ebf8238d12b6ff7 commit: 23a5480394d2202081f76a1bf78b3785e7f3a4c6 Author: Michał Górny gentoo org> AuthorDate: Wed May 5 07:48:35 2021 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Aug 1 09:50:55 2021 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=23a54803 ebuild-writing/functions/src_test: Clarify how localhost can be used Closes: https://github.com/gentoo/devmanual/pull/227 Signed-off-by: Michał Górny gentoo.org> [Reword as suggested by Sam James gentoo.org>] Signed-off-by: Ulrich Müller gentoo.org> ebuild-writing/functions/src_test/text.xml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/ebuild-writing/functions/src_test/text.xml b/ebuild-writing/functions/src_test/text.xml index 1822c33..3b87060 100644 --- a/ebuild-writing/functions/src_test/text.xml +++ b/ebuild-writing/functions/src_test/text.xml @@ -178,9 +178,17 @@ a more complete test suite.

-Local server access within the build procedure is additionally -forbidden for the following reasons: +It is generally considered acceptable to rely on IPv4 localhost being +resolvable and available for binding to and connecting to services started +within the phase. However, it is not acceptable to connect to the daemons +run outside the test environment.

+ +

+Local server access within the build procedure is forbidden for the following +reasons: +

+
  • tests must run reliably independently of whether a particular