dev-utils/strace: skip flaky -k test #545812 in stable
authorPaolo Pedroni <PPed72@users.noreply.github.com>
Wed, 9 Mar 2016 10:56:33 +0000 (11:56 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Thu, 10 Mar 2016 08:04:23 +0000 (08:04 +0000)
Already fixed in 4.10. Apply same fix to current stable.

dev-util/strace/strace-4.9.ebuild

index 5fd2fd6c1a92754af6c2153e044bb45939262fd2..b3ef07df7aacb74530e645f1c803a9f7d7809c68 100644 (file)
@@ -40,6 +40,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_configure() {