com php-src: make test slower again: Zend/tests/bug74093.phpt
[email protected] (Remi Collet)
| Newsgroups | php.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit: 3006d1de5b1b2903af3ad1e8c72c3cfe6cd1af15 Author: Remi Collet <[email protected]> Tue, 28 Feb 2017 11:36:24 +0100 Parents: 55bcef1751a6400d7d08fa2876da2384d85f75df Branches: PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3006d1de5b1b2903af3ad1e8c72c3cfe6cd1af15 Log: make test slower again Changed paths: M Zend/tests/bug74093.phpt Diff: diff --git a/Zend/tests/bug74093.phpt b/Zend/tests/bug74093.phpt index 22c78a6..7f20285 100644 --- a/Zend/tests/bug74093.phpt +++ b/Zend/tests/bug74093.phpt @@ -1,20 +1,20 @@ ---TEST-- -Bug #74093 (Maximum execution time of n+2 seconds exceed not written in error_log) ---SKIPIF-- -<?php -if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); -if (PHP_ZTS) die("skip only for no-zts build"); -if (substr(PHP_OS, 0, 3) == 'WIN') die("skip not for Windows"); -?> ---INI-- -memory_limit=1G -max_execution_time=1 -hard_timeout=1 ---FILE-- -<?php -$a1 = range(1, 1000000); -$a2 = range(100000, 999999); -array_intersect($a1, $a2); -?> ---EXPECTF-- -Fatal error: Maximum execution time of 1+1 seconds exceeded %s +--TEST-- +Bug #74093 (Maximum execution time of n+2 seconds exceed not written in error_log) +--SKIPIF-- +<?php +if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); +if (PHP_ZTS) die("skip only for no-zts build"); +if (substr(PHP_OS, 0, 3) == 'WIN') die("skip not for Windows"); +?> +--INI-- +memory_limit=1G +max_execution_time=1 +hard_timeout=1 +--FILE-- +<?php +$a1 = range(1, 1000000); +$a2 = range(100000, 1999999); +array_intersect($a1, $a2); +?> +--EXPECTF-- +Fatal error: Maximum execution time of 1+1 seconds exceeded %s