Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37401259
en ru br
Репозитории ALT

Группа :: Разработка/Прочее
Пакет: php8.1

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: php7-7.4-XFAIL-openssl-tests-with-internet-requires.patch
Скачать


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
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin