com php-src: Prevent test case failure: ext/opcache/tests/bug66461.phpt

From: Date: Tue, 21 May 2019 09:17:51 +0000
Subject: com php-src: Prevent test case failure: ext/opcache/tests/bug66461.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-106258@lists.php.net to get a copy of this message
Commit: e6a191de1b73c902b631cb8f0f70ed58b81005d4 Author: Christoph M. Becker <cmbecker69@gmx.de> Tue, 21 May 2019 11:17:28 +0200 Parents: 5f8c22d41536768298354218fe238691ae750f75 Branches: PHP-7.2 PHP-7..3 PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e6a191de1b73c902b631cb8f0f70ed58b81005d4 Log: Prevent test case failure If opcache.log_verbosity_level is greater than 1, opcache will raise warnings, which will be written to stderr in the default case. These warnings are actually to be expected, but would break the test, so we make sure that the log_verbosity_level is 1 when running this test. Changed paths: M ext/opcache/tests/bug66461.phpt Diff: diff --git a/ext/opcache/tests/bug66461.phpt b/ext/opcache/tests/bug66461.phpt index 33132ab..2d09fef 100644 --- a/ext/opcache/tests/bug66461.phpt +++ b/ext/opcache/tests/bug66461.phpt @@ -4,6 +4,7 @@ Bug #66461 (PHP crashes if opcache.interned_strings_buffer=0) opcache.enable=1 opcache.enable_cli=1 opcache.optimization_level=-1 +opcache.log_verbosity_level=1 opcache.file_update_protection=0 opcache.interned_strings_buffer=0 --SKIPIF--

« previous php.cvs (#106258) next »