From fd0a66528e7116462feabb7958a9ea508eca0e76 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Tue, 10 Mar 2015 10:20:43 +0100 Subject: [PATCH] correct tests as the issue is only reproduceable with cgi/fpm --- Zend/tests/exception_011.phpt | 2 ++ Zend/tests/exception_012.phpt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Zend/tests/exception_011.phpt b/Zend/tests/exception_011.phpt index 86e10262d1..e02a75a2b0 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 91ea84b2e9..6493e2ccf7 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: -- 2.50.1