dev-libs/openssl: test_ssl_new.t is known to fail with FEATURES=network-sandbox
authorThomas Deutschmann <whissi@gentoo.org>
Fri, 4 Oct 2019 15:43:14 +0000 (17:43 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Fri, 4 Oct 2019 15:48:17 +0000 (17:48 +0200)
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
dev-libs/openssl/openssl-1.1.1d-r1.ebuild

index 1ddfa7ff16f1a4f1e75c65536bc28a1688fa5887..e27061b9434d477317e4e705a54f3b14dbd15a04 100644 (file)
@@ -111,6 +111,16 @@ src_prepare() {
 
        eapply_user #332661
 
+       if has test ${FEATURES}; then
+               if use sctp; then
+                       if has network-sandbox ${FEATURES}; then
+                               ebegin "Disabling test '80-test_ssl_new.t' which is known to fail with FEATURES=network-sandbox"
+                               rm test/recipes/80-test_ssl_new.t || die
+                               eend $?
+                       fi
+               fi
+       fi
+
        # make sure the man pages are suffixed #302165
        # don't bother building man pages if they're disabled
        # Make DOCDIR Gentoo compliant