summaryrefslogtreecommitdiffstats
path: root/realpath-turbo-tests.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-09-13 16:20:57 +0200
committerRemi Collet <remi@php.net>2022-09-13 16:20:57 +0200
commit1239fdefe82054c00da905906a5fa842908e9fba (patch)
treee51c75f5891f9228d8586ea37002d82972659c04 /realpath-turbo-tests.patch
parentaa87abfe1344200b97fa13a6a1ac0f836c426ce7 (diff)
add patch for test suite with PHP 8.2 from
https://github.com/Whissi/realpath_turbo/pull/20
Diffstat (limited to 'realpath-turbo-tests.patch')
-rw-r--r--realpath-turbo-tests.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/realpath-turbo-tests.patch b/realpath-turbo-tests.patch
new file mode 100644
index 0000000..f492254
--- /dev/null
+++ b/realpath-turbo-tests.patch
@@ -0,0 +1,21 @@
+From 350b00fb53682c85c8b856033285419e7b51887a Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Tue, 13 Sep 2022 16:15:18 +0200
+Subject: [PATCH] relax test expectation for 8.2
+
+---
+ tests/021.phpt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/021.phpt b/tests/021.phpt
+index 35e3515..69cfc83 100644
+--- a/tests/021.phpt
++++ b/tests/021.phpt
+@@ -11,6 +11,6 @@ realpath_turbo.open_basedir="/tmp/realpath_turbo-test"
+ var_dump(ini_get("realpath_turbo.open_basedir"));
+ var_dump(ini_get("open_basedir"));
+ --EXPECTF--
+-Warning: Unknown: open_basedir already set! Please unset open_basedir and only use realpath_turbo.open_basedir option. realpath_turbo will not have any effect when open_basedir is already set. in %s on line %d
++Warning: %s: open_basedir already set! Please unset open_basedir and only use realpath_turbo.open_basedir option. realpath_turbo will not have any effect when open_basedir is already set. in %s on line %d
+
+ Warning: request_startup() for realpath_turbo module failed in %s on line %d