com php-src: correct tests as the issue is only reproduceable with cgi/fpm: Zend/tests/exception_011.phpt Zend/tests/exception _012.phpt
| From: | Anatol Belski | Date: | Tue, 10 Mar 2015 09:21:22 +0000 |
| Subject: | com php-src: correct tests as the issue is only reproduceable with cgi/fpm: Zend/tests/exception_011.phpt Zend/tests/exception _012.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85436@lists.php.net to get a copy of this message | ||
Commit: fd0a66528e7116462feabb7958a9ea508eca0e76
Author: Anatol Belski <ab@php.net> Tue, 10 Mar 2015 10:20:43 +0100
Parents: d4c1dca98cbf40572c3355a3b3b09a298f306165
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fd0a66528e7116462feabb7958a9ea508eca0e76
Log:
correct tests as the issue is only reproduceable with cgi/fpm
Changed paths:
M Zend/tests/exception_011.phpt
M Zend/tests/exception_012.phpt
Diff:
diff --git a/Zend/tests/exception_011.phpt b/Zend/tests/exception_011.phpt
index 86e1026..e02a75a 100644
--- a/Zend/tests/exception_011.phpt
+++ b/Zend/tests/exception_011.phpt
@@ -10,6 +10,8 @@ define ("XXXXX", 1);
assert(false);
?>
+--EXPECTHEADERS--
+Content-type: text/html; charset=UTF-8
--EXPECTF--
Fatal error: Uncaught exception 'AssertionException' with message
'assert(false)' in %sexception_011.php:%d
Stack trace:
diff --git a/Zend/tests/exception_012.phpt b/Zend/tests/exception_012.phpt
index 91ea84b..6493e2c 100644
--- a/Zend/tests/exception_012.phpt
+++ b/Zend/tests/exception_012.phpt
@@ -10,6 +10,8 @@ $func = create_function('', 'define("Mommy", 1);
assert(false);');
$func();
?>
+--EXPECTHEADERS--
+Content-type: text/html; charset=UTF-8
--EXPECTF--
Fatal error: Uncaught exception 'AssertionException' with message
'assert(false)' in %sexception_012.php(%d) : runtime-created function:%d
Stack trace: