commit:     cf0ea1fc1f7b7258baffac031e5c0cfe72fc27d3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  4 00:39:24 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jul  4 00:39:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf0ea1fc

sys-apps/coreutils: properly skip dd no-allocate test

It XPASSes sometimes but it's really unreliable under sandbox (even
segfaults under sandbox when I looked at it last).

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

 sys-apps/coreutils/coreutils-9.5.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-9.5.ebuild 
b/sys-apps/coreutils/coreutils-9.5.ebuild
index 3e451f36d7cb..16a041e4cbde 100644
--- a/sys-apps/coreutils/coreutils-9.5.ebuild
+++ b/sys-apps/coreutils/coreutils-9.5.ebuild
@@ -224,9 +224,6 @@ src_test() {
        local -x gl_public_submodule_commit=
 
        local xfail_tests=(
-               # bug #629660
-               tests/dd/no-allocate.sh
-
                # bug #675802
                tests/env/env-S
                tests/env/env-S.pl
@@ -245,6 +242,12 @@ src_test() {
                #tests/touch/not-owner.sh
        )
 
+       # This test is flaky (bug #629660, bug #935367).
+       cat > tests/dd/no-allocate.sh <<-EOF || die
+       #!/bin/sh
+       exit 77;
+       EOF
+
        # This test is flaky (bug #910640).
        cat > tests/tty/tty-eof.pl <<-EOF || die
        #!/usr/bin/perl

Reply via email to