From 1239fdefe82054c00da905906a5fa842908e9fba Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 13 Sep 2022 16:20:57 +0200 Subject: add patch for test suite with PHP 8.2 from https://github.com/Whissi/realpath_turbo/pull/20 --- realpath-turbo-tests.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 realpath-turbo-tests.patch (limited to 'realpath-turbo-tests.patch') 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 +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 -- cgit