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 B5D40139337 for ; Sun, 1 Aug 2021 09:55:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 162B8E08BB; Sun, 1 Aug 2021 09:55:08 +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 EA23FE08BB for ; Sun, 1 Aug 2021 09:55:07 +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 0398C343B5C for ; Sun, 1 Aug 2021 09:55:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 94EE378A for ; Sun, 1 Aug 2021 09:55:05 +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: <1627811690.1779bc63ec5bce6e0c117b1fe90065e9d1622df0.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: 1779bc63ec5bce6e0c117b1fe90065e9d1622df0 X-VCS-Branch: master Date: Sun, 1 Aug 2021 09:55:05 +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: 91408570-48ff-46c0-a9bd-5f8e885e2207 X-Archives-Hash: f23ecce9b2f5be1236692b4438175a49 commit: 1779bc63ec5bce6e0c117b1fe90065e9d1622df0 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:54:50 2021 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=1779bc63 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 and Florian Schmaus] 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..3fa05d5 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. Tests should only connect to services +that are started as part of the testsuite. It is not acceptable to connect +to 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