Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37713092
en ru br
ALT Linux repositórios
S:8.1.23-alt1

Group :: Desenvolvimento/Outros
RPM: php8.1

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: php7-7.4-XFAIL-openssl-tests-with-internet-requires.patch
Download


From 63825f75d3c4b8a740216ae02c290714222db5f7 Mon Sep 17 00:00:00 2001
From: Anton Farygin <rider@altlinux.org>
Date: Thu, 23 Jul 2020 09:03:23 +0300
Subject: [PATCH] Some openssl tests require Internet access for their work,
 which is not available on our build environment. In this commit i have marked
 these tests as XFAIL.
---
 ext/openssl/tests/bug62890.phpt     | 2 ++
 ext/openssl/tests/bug65538_002.phpt | 2 ++
 2 files changed, 4 insertions(+)
diff --git a/ext/openssl/tests/bug62890.phpt b/ext/openssl/tests/bug62890.phpt
index b400b0e5ef..3b0dd85200 100644
--- a/ext/openssl/tests/bug62890.phpt
+++ b/ext/openssl/tests/bug62890.phpt
@@ -7,6 +7,8 @@ if (getenv('SKIP_ONLINE_TESTS')) die('skip online test');
 ?>
 --INI--
 default_socket_timeout=-1
+--XFAIL--
+Unable to connect to external resources from the limited build environment (like hasher).
 --FILE--
 <?php
 var_dump((bool) file_get_contents('https://php.net'));
diff --git a/ext/openssl/tests/bug65538_002.phpt b/ext/openssl/tests/bug65538_002.phpt
index 2a06d2d1b6..b9aa561a90 100644
--- a/ext/openssl/tests/bug65538_002.phpt
+++ b/ext/openssl/tests/bug65538_002.phpt
@@ -5,6 +5,8 @@ Bug #65538: SSL context "cafile" disallows URL stream wrappers
 if (!extension_loaded('openssl')) die('skip, openssl required');
 if (getenv("SKIP_ONLINE_TESTS")) die("skip online test");
 ?>
+--XFAIL--
+Unable to connect to external resources from the limited build environment (like hasher).
 --FILE--
 <?php
 $clientCtx = stream_context_create(['ssl' => [
-- 
2.25.4
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009