]> granicus.if.org Git - php/commitdiff
fix tests
authorStanislav Malyshev <stas@php.net>
Tue, 2 Feb 2016 04:23:21 +0000 (20:23 -0800)
committerStanislav Malyshev <stas@php.net>
Tue, 2 Feb 2016 04:23:21 +0000 (20:23 -0800)
ext/pcre/tests/backtrack_limit.phpt
ext/phar/tests/bug71331.phpt

index 419e6c20090ad385419023bea517ef8fc69438f0..3f0d8e64468a0696c2cf38c6b92b3c5de7528ad6 100644 (file)
@@ -8,6 +8,7 @@ if (@preg_match_all('/\p{N}/', '0123456789', $dummy) === false) {
 ?>
 --INI--
 pcre.backtrack_limit=2
+pcre.jit=0
 --FILE--
 <?php
 
index 106fd540fc39aab155e8d7e510e56d93f0b43dc1..6cd850d36d957ef05501a5f763a5f3a4652f5054 100644 (file)
@@ -8,8 +8,8 @@ $p = new PharData(__DIR__."/bug71331.tar");
 ?>
 DONE
 --EXPECTF--
-Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: "%s/bug71331.tar" is a corrupted tar file (invalid entry size)' in %s/bug71331.php:2
+Fatal error: Uncaught UnexpectedValueException: phar error: "%s/bug71331.tar" is a corrupted tar file (invalid entry size) in %s/bug71331.php:2
 Stack trace:
 #0 %s/bug71331.php(2): PharData->__construct('%s')
 #1 {main}
-  thrown in %s/bug71331.php on line 2
\ No newline at end of file
+  thrown in %s/bug71331.php on line 2