From f7d771d67a8b7b545beb4db190b561445f92db5b Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Date: Sat, 4 Mar 2023 01:45:46 +0100 Subject: [PATCH] Set error_log to an empty value if the test relies on that feature Some tests fail if the error_log is overriden by the loaded ini configuration. Explicitly set it to an empty value to prevent the failures. See https://github.com/php/php-src/issues/10737#issuecomment-1452899299 --- Zend/tests/bug39542.phpt | 2 ++ Zend/tests/bug79919.phpt | 2 ++ ext/opcache/tests/jit/bug80861.phpt | 1 + 3 files changed, 5 insertions(+) diff --git a/Zend/tests/bug39542.phpt b/Zend/tests/bug39542.phpt index 79c1c56e9185..d2023673ef0b 100644 --- a/Zend/tests/bug39542.phpt +++ b/Zend/tests/bug39542.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #39542 (Behaviour of require_once/include_once different to < 5.2.0) +--INI-- +error_log= --FILE--