From a28f4bbacc31e96d1cefb399fd4bd0f36fa94044 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 29 Sep 2015 15:05:31 -0400 Subject: [PATCH] dev-util/strace: skip flaky -k test #545812 This fails in upstream unmodified (and has been reported there), so just skip it in our builds. --- dev-util/strace/strace-4.10.ebuild | 3 +++ dev-util/strace/strace-9999.ebuild | 3 +++ 2 files changed, 6 insertions(+) diff --git a/dev-util/strace/strace-4.10.ebuild b/dev-util/strace/strace-4.10.ebuild index 289f2f73c3e9..dba2a1e53796 100644 --- a/dev-util/strace/strace-4.10.ebuild +++ b/dev-util/strace/strace-4.10.ebuild @@ -38,6 +38,9 @@ src_prepare() { use static && append-ldflags -static export ac_cv_header_libaio_h=$(usex aio) + + # Stub out the -k test since it's known to be flaky. #545812 + sed -i '1iexit 77' tests*/strace-k.test || die } src_install() { diff --git a/dev-util/strace/strace-9999.ebuild b/dev-util/strace/strace-9999.ebuild index a72fc13496a5..8a1e0d6ef4c6 100644 --- a/dev-util/strace/strace-9999.ebuild +++ b/dev-util/strace/strace-9999.ebuild @@ -39,6 +39,9 @@ src_prepare() { use static && append-ldflags -static export ac_cv_header_libaio_h=$(usex aio) + + # Stub out the -k test since it's known to be flaky. #545812 + sed -i '1iexit 77' tests*/strace-k.test || die } src_install() { -- 2.26.2