com php-src: Fixed test by disable opcache: sapi/phpdbg/tests/s tepping_001.phpt
| From: | Xinchen Hui | Date: | Thu, 10 Dec 2015 13:46:37 +0000 |
| Subject: | com php-src: Fixed test by disable opcache: sapi/phpdbg/tests/s tepping_001.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-90203@lists.php.net to get a copy of this message | ||
Commit: f43baba1f99bb1799969a07305359d7d2d623f85
Author: Xinchen Hui <laruence@gmail.com> Thu, 10 Dec 2015 21:46:37 +0800
Parents: ec0ac5dafb30f4b99cf3abc0cd7f041915a1a020
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f43baba1f99bb1799969a07305359d7d2d623f85
Log:
Fixed test by disable opcache
Changed paths:
M sapi/phpdbg/tests/stepping_001.phpt
Diff:
diff --git a/sapi/phpdbg/tests/stepping_001.phpt b/sapi/phpdbg/tests/stepping_001.phpt
index f4c7f3e..c28c907 100644
--- a/sapi/phpdbg/tests/stepping_001.phpt
+++ b/sapi/phpdbg/tests/stepping_001.phpt
@@ -1,5 +1,7 @@
--TEST--
Stepping with exceptions must not be stuck at CATCH
+--INI--
+opcache.enable=0
--PHPDBG--
b ZEND_THROW
r
@@ -32,14 +34,14 @@ prompt> [L10 %s ECHO "ok"
00011: } finally {
00012: echo " ... ok";
prompt> ok
-[L10 %s FAST_CALL J%d ~%d
%s]
+[L10 %s FAST_CALL J8 ~%d %s]
[L12 %s ECHO " ... ok"
%s]
>00012: echo " ... ok";
00013: }
00014:
prompt> ... ok
[L12 %s FAST_RET ~%d %s]
-[L10 %s JMP J%d %s]
+[L10 %s JMP J10 %s]
>00010: echo "ok";
00011: } finally {
00012: echo " ... ok";