mirror of
https://github.com/php/php-src.git
synced 2024-09-23 19:07:26 +00:00
Small change in the test to pass
This test was not passing because the VM called by travis CI is slow, see below the failure: http://gcov.php.net/viewer.php?version=PHP_HEAD&func=tests&file=ext%2Ffileinfo%2Ftests%2Fcve-2014-3538-mb.phpt User Group: PHPSP #phptestfestbrasil http://phpsp.org.br/
This commit is contained in:
parent
31a01302dd
commit
34ca922125
@ -17,7 +17,7 @@ $t = microtime(true);
|
||||
var_dump(finfo_file($fi, $fd));
|
||||
$t = microtime(true) - $t;
|
||||
finfo_close($fi);
|
||||
if ($t < 1) {
|
||||
if ($t < 3) {
|
||||
echo "Ok\n";
|
||||
} else {
|
||||
printf("Failed, time=%.2f\n", $t);
|
||||
|
Loading…
Reference in New Issue
Block a user