com php-src: Added test for "opcache: print restart reason" to basic_logging.phpt: ext/opcache/tests/basic_logging .phpt
| From: | Joe Watkins | Date: | Sat, 14 Jan 2017 07:32:55 +0000 |
| Subject: | com php-src: Added test for "opcache: print restart reason" to basic_logging.phpt: ext/opcache/tests/basic_logging .phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-96725@lists.php.net to get a copy of this message | ||
Commit: fbf655afbd1cc5b5a9c9e03405c62ae714425435
Author: Mitch Hagstrand <mhagstrand@gmail.com> Fri, 13 Jan 2017 16:33:05 -0800
Committer: Joe Watkins <krakjoe@php.net> Sat, 14 Jan 2017 07:32:55 +0000
Parents: a4accc0e3e14bce27f4aaf1f6ab060aa8f4a27ec
Branches: PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fbf655afbd1cc5b5a9c9e03405c62ae714425435
Log:
Added test for "opcache: print restart reason" to basic_logging.phpt
Changed paths:
M ext/opcache/tests/basic_logging.phpt
Diff:
diff --git a/ext/opcache/tests/basic_logging.phpt b/ext/opcache/tests/basic_logging.phpt
index 4a571b5..f0ecd6f 100644
--- a/ext/opcache/tests/basic_logging..phpt
+++ b/ext/opcache/tests/basic_logging.phpt
@@ -14,7 +14,11 @@ opcache.log_verbosity_level=4
--FILE--
<?php
echo "Foo Bar\n";
+opcache_reset();
+echo "Opcache reset";
?>
--EXPECTF--
%s Message Cached script '%sbasic_logging%s'
Foo Bar
+%s Debug Restart Scheduled! Reason: user
+Opcache reset