com php-src: make test slower again: Zend/tests/bug74093.phpt
[email protected] (Joe Watkins)
| Newsgroups | php.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit: 33444dc0b099948fcacb1f5eba706b34065d7311 Author: Remi Collet <[email protected]> Tue, 28 Feb 2017 11:36:24 +0100 Committer: Joe Watkins <[email protected]> Tue, 28 Feb 2017 14:14:31 +0000 Parents: a64b17ffde75c3f2d3cb927b476a4b1e4250960a Branches: PHP-7.1.3 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=33444dc0b099948fcacb1f5eba706b34065d7311 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