From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1615028-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id AF257158041
	for <garchives@archives.gentoo.org>; Tue, 26 Mar 2024 23:40:46 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id F30682BC019;
	Tue, 26 Mar 2024 23:40:45 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id CDA9C2BC019
	for <gentoo-commits@lists.gentoo.org>; Tue, 26 Mar 2024 23:40:45 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 100B2342F64
	for <gentoo-commits@lists.gentoo.org>; Tue, 26 Mar 2024 23:40:45 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 6F3B415B8
	for <gentoo-commits@lists.gentoo.org>; Tue, 26 Mar 2024 23:40:43 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1711496401.f2059605a643678ff4c26bd8104140281360c47a.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-apps/coreutils/coreutils-9.4-r1.ebuild sys-apps/coreutils/coreutils-9.4.ebuild sys-apps/coreutils/coreutils-9.4_p20240323.ebuild sys-apps/coreutils/coreutils-9999.ebuild
X-VCS-Directories: sys-apps/coreutils/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: f2059605a643678ff4c26bd8104140281360c47a
X-VCS-Branch: master
Date: Tue, 26 Mar 2024 23:40:43 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 7290d3e4-263b-4627-b78e-0c2162197959
X-Archives-Hash: 3fe1e7bbd7f8d8a32c22eabdcd0d9616

commit:     f2059605a643678ff4c26bd8104140281360c47a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 26 23:40:01 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 26 23:40:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2059605

sys-apps/coreutils: fully skip tty-eof.pl

It's an unreliable/flaky test, not just a known failure, so XFAIL isn't appropriate
as it may pass sometimes -> unexpected XPASS.

tdr reported this passed for him which is how I noticed my silly error.

Bug: https://bugs.gentoo.org/910640
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/coreutils/coreutils-9.4-r1.ebuild        | 9 ++++++---
 sys-apps/coreutils/coreutils-9.4.ebuild           | 9 ++++++---
 sys-apps/coreutils/coreutils-9.4_p20240323.ebuild | 9 ++++++---
 sys-apps/coreutils/coreutils-9999.ebuild          | 9 ++++++---
 4 files changed, 24 insertions(+), 12 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-9.4-r1.ebuild b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
index adf51c2bed02..bb3b8847f239 100644
--- a/sys-apps/coreutils/coreutils-9.4-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
@@ -244,11 +244,14 @@ src_test() {
 		# We have a patch which fixes this (bug #259876)
 		#tests/touch/not-owner
 		#tests/touch/not-owner.sh
-
-		# bug #910640
-		tests/tty/tty-eof.pl
 	)
 
+	# This test is flaky (bug #910640).
+	cat > tests/tty/tty-eof.pl <<-EOF || die
+	#!/usr/bin/perl
+	exit 77;
+	EOF
+
 	# We set DISABLE_HARD_ERRORS because some of the tests hard error-out
 	# because of sandbox. They're skipped above but DISABLE_HARD_ERRORS is needed
 	# to downgrade them to FAIL.

diff --git a/sys-apps/coreutils/coreutils-9.4.ebuild b/sys-apps/coreutils/coreutils-9.4.ebuild
index 4c826357e157..7f7d258299b7 100644
--- a/sys-apps/coreutils/coreutils-9.4.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4.ebuild
@@ -242,11 +242,14 @@ src_test() {
 		# We have a patch which fixes this (bug #259876)
 		#tests/touch/not-owner
 		#tests/touch/not-owner.sh
-
-		# bug #910640
-		tests/tty/tty-eof.pl
 	)
 
+	# This test is flaky (bug #910640).
+	cat > tests/tty/tty-eof.pl <<-EOF || die
+	#!/usr/bin/perl
+	exit 77;
+	EOF
+
 	# We set DISABLE_HARD_ERRORS because some of the tests hard error-out
 	# because of sandbox. They're skipped above but DISABLE_HARD_ERRORS is needed
 	# to downgrade them to FAIL.

diff --git a/sys-apps/coreutils/coreutils-9.4_p20240323.ebuild b/sys-apps/coreutils/coreutils-9.4_p20240323.ebuild
index 95bb5424c9b2..66cc53b9133f 100644
--- a/sys-apps/coreutils/coreutils-9.4_p20240323.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4_p20240323.ebuild
@@ -241,11 +241,14 @@ src_test() {
 		# We have a patch which fixes this (bug #259876)
 		#tests/touch/not-owner
 		#tests/touch/not-owner.sh
-
-		# bug #910640
-		tests/tty/tty-eof.pl
 	)
 
+	# This test is flaky (bug #910640).
+	cat > tests/tty/tty-eof.pl <<-EOF || die
+	#!/usr/bin/perl
+	exit 77;
+	EOF
+
 	# We set DISABLE_HARD_ERRORS because some of the tests hard error-out
 	# because of sandbox. They're skipped above but DISABLE_HARD_ERRORS is needed
 	# to downgrade them to FAIL.

diff --git a/sys-apps/coreutils/coreutils-9999.ebuild b/sys-apps/coreutils/coreutils-9999.ebuild
index 95bb5424c9b2..66cc53b9133f 100644
--- a/sys-apps/coreutils/coreutils-9999.ebuild
+++ b/sys-apps/coreutils/coreutils-9999.ebuild
@@ -241,11 +241,14 @@ src_test() {
 		# We have a patch which fixes this (bug #259876)
 		#tests/touch/not-owner
 		#tests/touch/not-owner.sh
-
-		# bug #910640
-		tests/tty/tty-eof.pl
 	)
 
+	# This test is flaky (bug #910640).
+	cat > tests/tty/tty-eof.pl <<-EOF || die
+	#!/usr/bin/perl
+	exit 77;
+	EOF
+
 	# We set DISABLE_HARD_ERRORS because some of the tests hard error-out
 	# because of sandbox. They're skipped above but DISABLE_HARD_ERRORS is needed
 	# to downgrade them to FAIL.